/* ==========================================================================
   WinSys Rugged — "field instrument" design system
   Graphite + signal amber, blueprint grids, chamfered corners, mono labels.
   ========================================================================== */

:root {
	--ink: #121418;
	--ink-2: #1a1d23;
	--ink-3: #252a32;
	--steel: #39404b;
	--line-d: rgba(255, 255, 255, .09);
	--line: #dcd8cf;
	--paper: #f3f1ec;
	--paper-2: #e9e6de;
	--white: #ffffff;
	--text: #1a1c20;
	--text-d: #e8e6e1;
	--muted: #5d6470;
	--muted-d: #9aa1ac;
	--amber: #f5a524;
	--amber-2: #ffc35c;
	--amber-ink: #3a2700;
	--ok: #2f9e6b;
	--err: #d2453b;

	--f-sans: "Space Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wrap: 1240px;
	--gut: clamp(16px, 4vw, 40px);
	--r: 4px;
	--cut: 14px;
	--shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 12px 32px -18px rgba(18, 20, 24, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--f-sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #b06f00; }
h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px; background: var(--amber); color: var(--ink); padding: 10px 16px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); font-size: .9rem; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Typo helpers ---------- */
.kicker { font: 500 .78rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.kicker--amber { color: var(--amber); }
.section__title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

/* ---------- Buttons ---------- */
.btn { --bg: var(--amber); --fg: var(--amber-ink); display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border: 1.5px solid var(--bg); background: var(--bg); color: var(--fg); font: 600 .82rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); transition: background .2s var(--ease), color .2s, transform .2s var(--ease); }
.btn .ico { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover { --bg: var(--amber-2); color: var(--fg); }
.btn:hover .ico { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --bg: rgba(245, 165, 36, .14); color: inherit; }
.btn--sm { padding: 10px 16px; font-size: .74rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }
.link-arrow .ico { width: 16px; color: var(--amber); }

/* ---------- Top bar + masthead ---------- */
.topbar { background: var(--ink); color: var(--muted-d); font: 400 .76rem var(--f-mono); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar__tag { margin: 0; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: .06em; }
.topbar__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 158, 107, .25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 158, 107, 0); } }
.topbar__links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-d); text-decoration: none; }
.topbar__links .ico { width: 14px; height: 14px; color: var(--amber); }
.topbar__links a:hover { color: var(--amber); }

.masthead { position: sticky; top: 0; z-index: 60; background: rgba(26, 29, 35, .96); backdrop-filter: blur(8px); color: var(--text-d); border-bottom: 1px solid var(--line-d); transition: box-shadow .2s; }
.masthead.is-stuck { box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
.masthead__inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand__word { display: inline-flex; align-items: center; gap: 10px; font: 500 1.28rem/1 var(--f-sans); letter-spacing: .02em; text-decoration: none; color: var(--white); }
.brand__word b { font-weight: 700; color: var(--amber); }
.brand__mark { width: 26px; height: 26px; border: 2px solid var(--amber); position: relative; transform: rotate(45deg); }
.brand__mark::after { content: ""; position: absolute; inset: 5px; background: var(--amber); }
.custom-logo { max-height: 44px; width: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav__item { position: static; display: flex; align-items: center; }
.nav__link { display: block; padding: 26px 12px; color: var(--text-d); text-decoration: none; font-weight: 500; font-size: .96rem; position: relative; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 18px; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__item:hover .nav__link::after, .nav__item.is-open .nav__link::after, .nav__item.is-active .nav__link::after { transform: scaleX(1); }
.nav__link:hover { color: var(--white); }
.nav__toggle { background: none; border: 0; color: var(--muted-d); padding: 6px; margin-left: -8px; display: inline-flex; }
.nav__toggle .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav__item.is-open .nav__toggle .ico { transform: rotate(180deg); }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-2); border-top: 1px solid var(--line-d); border-bottom: 3px solid var(--amber); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .22s var(--ease), visibility .18s; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { max-width: var(--wrap); margin: 0 auto; padding: 26px var(--gut) 30px; }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2px; counter-reset: mega; }
.mega__item { counter-increment: mega; }
.mega__link { display: block; padding: 16px 18px 16px 52px; position: relative; text-decoration: none; color: var(--text-d); border: 1px solid transparent; transition: background .15s, border-color .15s; }
.mega__link::before { content: counter(mega, decimal-leading-zero); position: absolute; left: 16px; top: 17px; font: 500 .72rem var(--f-mono); color: var(--amber); }
.mega__link:hover { background: var(--ink-3); border-color: var(--line-d); color: var(--white); }
.mega__title { display: block; font-weight: 600; }
.mega__desc { display: block; font-size: .84rem; color: var(--muted-d); margin-top: 3px; }

.masthead__tools { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; background: transparent; border: 1px solid var(--line-d); color: var(--text-d); border-radius: var(--r); }
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }
.burger { display: none; }
.nav__mobile-extra { display: none; }

.search-drawer { background: var(--ink-3); border-top: 1px solid var(--line-d); padding: 18px 0; }
.search-drawer .wrap { display: flex; gap: 12px; align-items: center; }
.search-form { display: flex; align-items: center; gap: 10px; flex: 1; background: var(--white); border: 1px solid var(--line); padding: 6px 6px 6px 14px; border-radius: var(--r); color: var(--muted); }
.search-form input { flex: 1; border: 0; outline: 0; font: inherit; color: var(--text); background: transparent; padding: 8px 0; min-width: 0; }

/* ---------- Home hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--text-d); overflow: hidden; }
.hero__grid, .phero__grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero__title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: var(--white); letter-spacing: -.035em; text-transform: uppercase; line-height: .98; }
.hero__lead { font-size: 1.12rem; color: var(--muted-d); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.hero__specs { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-d); }
.hero__specs li { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-size: .88rem; color: var(--muted-d); border-right: 1px solid var(--line-d); flex: 1 1 180px; }
.hero__specs li:last-child { border-right: 0; }
.hero__specs b { color: var(--white); font-family: var(--f-mono); font-weight: 500; }
.hero__specs .ico { color: var(--amber); }
.hero__note { font: .72rem var(--f-mono); color: var(--steel); margin-top: 10px; }
.hero__visual { position: relative; }
.hero__board { animation: float 7s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
@keyframes float { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.hero__readout { position: absolute; right: 0; bottom: -10px; display: grid; gap: 6px; font: .74rem var(--f-mono); color: var(--muted-d); background: rgba(18, 20, 24, .85); border: 1px solid var(--line-d); padding: 12px 16px; }
.hero__readout b { color: var(--amber); font-weight: 500; margin-left: 6px; }

/* Board illustration */
.board-art { width: 100%; }
.b-pcb { fill: #1f3b2e; stroke: #2c5442; stroke-width: 2; }
.b-trace { fill: none; stroke: #c99a3e; stroke-width: 2; opacity: .6; }
.b-cpu { fill: #2b2f36; stroke: #4a515c; }
.b-die { fill: #3a404a; }
.b-chip { fill: #16191e; stroke: #3a414c; }
.b-pin { fill: #d9b25a; }
.b-hole { fill: #0f1113; stroke: #c99a3e; stroke-width: 2; }

/* ---------- Inner page hero ---------- */
.phero { position: relative; background: var(--ink); color: var(--text-d); overflow: hidden; }
.phero__inner { position: relative; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(44px, 6vw, 84px); }
.phero__title { font-size: clamp(2rem, 4.6vw, 3.6rem); color: var(--white); max-width: 22ch; }
.phero__sub { font-size: 1.12rem; color: var(--muted-d); max-width: 46em; margin: 0; }
.phero__ticks { height: 14px; background: repeating-linear-gradient(90deg, var(--steel) 0 1px, transparent 1px 12px); border-top: 1px solid var(--line-d); opacity: .6; }
.crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font: .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted-d); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--steel); }
.crumbs a { text-decoration: none; color: var(--muted-d); }
.crumbs a:hover { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--ink-2); color: var(--text-d); }
.section--dark .section__title { color: var(--white); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 24px; margin-bottom: 36px; }
.section__head .kicker { flex-basis: 100%; margin: 0; }
.section__head .section__title { margin: 0; flex: 1; }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat-tile { position: relative; display: flex; flex-direction: column; padding: 26px 24px 24px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--text); clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); transition: transform .25s var(--ease), box-shadow .25s; min-height: 280px; }
.cat-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--amber); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease); }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--text); }
.cat-tile:hover::before { transform: scaleY(1); }
.cat-tile__no { font: .72rem var(--f-mono); color: var(--muted); }
.cat-tile__ico { width: 52px; height: 52px; display: grid; place-items: center; background: var(--ink); color: var(--amber); margin: 18px 0; }
.cat-tile__ico .ico { width: 26px; height: 26px; }
.cat-tile__title { font-size: 1.3rem; }
.cat-tile__desc { color: var(--muted); font-size: .94rem; flex: 1; }
.cat-tile__cta { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.cat-tile__cta .ico { width: 15px; color: var(--amber); }

/* Guide band */
.guide { background: var(--amber); color: var(--amber-ink); }
.guide__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-top: 44px; padding-bottom: 44px; }
.guide h2 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-bottom: .4em; }
.guide p { margin: 0; max-width: 52em; }
.guide .kicker { color: rgba(58, 39, 0, .7); }
.guide .btn { --bg: var(--ink); --fg: var(--white); }
.guide .btn:hover { --bg: var(--ink-3); }
.guide__book { width: 110px; height: 140px; background: var(--ink); color: var(--amber); position: relative; transform: rotate(-6deg); box-shadow: 10px 12px 0 rgba(58, 39, 0, .25); padding: 14px; }
.guide__year { font: 600 1.5rem var(--f-mono); }
.guide__lines { position: absolute; left: 14px; right: 14px; bottom: 16px; height: 46px; background: repeating-linear-gradient(var(--steel) 0 2px, transparent 2px 9px); }

/* Split / steps */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.split__copy p { color: var(--muted-d); font-size: 1.06rem; }
.steps { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-d); }
.steps__item { display: flex; gap: 22px; padding: 22px 0 22px 26px; position: relative; border-bottom: 1px solid var(--line-d); }
.steps__item::before { content: ""; position: absolute; left: -5px; top: 30px; width: 9px; height: 9px; background: var(--amber); }
.steps__no { font: 500 .8rem var(--f-mono); color: var(--amber); padding-top: 4px; }
.steps h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted-d); }

/* Product rail + grid */
.rail-nav { display: flex; gap: 8px; }
.rail-nav__btn { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--white); font-size: 1.1rem; }
.rail-nav__btn:hover { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); }

.pcard { background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--text); }
.pcard__link:hover { color: var(--text); }
.pcard__media { background: radial-gradient(circle at 50% 40%, #2b313a, var(--ink)); padding: 22px; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; }
.pcard__media .board-art { transition: transform .4s var(--ease); }
.pcard:hover .pcard__media .board-art { transform: scale(1.05) rotate(-1deg); }
.pcard__body { padding: 18px 20px 6px; flex: 1; }
.pcard__cat { font: .7rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.pcard__title { font-size: 1.2rem; font-family: var(--f-mono); font-weight: 600; letter-spacing: -.01em; margin-bottom: 6px; }
.pcard__sub { font-size: .9rem; color: var(--muted); margin-bottom: 12px; }
.pcard__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard__tags li { font: .68rem var(--f-mono); padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.pcard__tags .is-usa { border-color: var(--amber); color: #8a5a00; }
.pcard__go { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; margin-top: 12px; border-top: 1px dashed var(--line); font: 600 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.pcard__go .ico { width: 16px; color: var(--amber); transition: transform .2s; }
.pcard:hover .pcard__go .ico { transform: translateX(4px); }

/* News cards */
.ngrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ngrid--3 { grid-template-columns: repeat(3, 1fr); }
.ncard { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--ink); transition: border-color .2s, box-shadow .2s; }
.ncard:hover { border-top-color: var(--amber); box-shadow: var(--shadow); }
.ncard__link { display: flex; flex-direction: column; height: 100%; padding: 22px; text-decoration: none; color: var(--text); }
.ncard__link:hover { color: var(--text); }
.ncard__meta { display: flex; justify-content: space-between; gap: 10px; font: .7rem var(--f-mono); text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.ncard__cat { color: #8a5a00; }
.ncard__media { margin: 0 -22px 16px; }
.ncard__title { font-size: 1.1rem; line-height: 1.3; }
.ncard__excerpt { font-size: .92rem; color: var(--muted); flex: 1; }
.ncard__more { display: inline-flex; gap: 8px; align-items: center; font: 600 .72rem var(--f-mono); text-transform: uppercase; }
.ncard__more .ico { width: 15px; color: var(--amber); }

/* Proof + stats */
.proof__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.proof__sub { font-size: 1.2rem; margin-top: 1.4em; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); margin: 0; }
.stats__item { background: var(--white); padding: 28px 24px; }
.stats dt { font: .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stats dd { margin: 8px 0 0; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; }

/* Newsletter band */
.news-band { background: var(--ink-3); color: var(--text-d); }
.news-band__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; padding-top: 34px; padding-bottom: 34px; }
.news-band__title { margin: 0; font-size: 1.5rem; color: var(--white); text-transform: uppercase; }
.news-band p { margin: 0; flex: 1; color: var(--muted-d); min-width: 220px; }

/* CTA band */
.cta-band { background: var(--ink); color: var(--text-d); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center; padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.cta-band__mark { display: grid; gap: 6px; }
.cta-band__mark span { display: block; width: 56px; height: 8px; background: var(--amber); }
.cta-band__mark span:nth-child(2) { width: 40px; opacity: .6; }
.cta-band__mark span:nth-child(3) { width: 24px; opacity: .3; }
.cta-band__title { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.8rem); text-transform: uppercase; margin-bottom: .3em; }
.cta-band__text { margin: 0; color: var(--muted-d); }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band__phone { display: inline-flex; gap: 8px; align-items: center; font: .9rem var(--f-mono); color: var(--text-d); text-decoration: none; }
.cta-band__phone .ico { width: 16px; color: var(--amber); }

/* ---------- Page content blocks (used inside the_content) ---------- */
.page-body .entry > *:not(.blk):not(.cta-band):not(.guide):not(.news-band):not(.section):not(.blk-full) { max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: var(--gut); padding-right: var(--gut); }
.page-body .entry > p:first-child { margin-top: 60px; }
.blk { padding: clamp(48px, 6vw, 88px) 0; }
.blk > .wrap > *:last-child { margin-bottom: 0; }
.blk--paper { background: var(--paper-2); }
.blk--white { background: var(--white); }
.blk--dark { background: var(--ink-2); color: var(--text-d); }
.blk--dark h2, .blk--dark h3 { color: var(--white); }
.blk--dark p, .blk--dark li { color: var(--muted-d); }
.blk h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.blk .lead { font-size: 1.15rem; max-width: 52em; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cols--60 { grid-template-columns: 1.4fr 1fr; }

.chips { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 14px; border: 1px solid var(--line); background: var(--white); font-size: .92rem; }
.blk--dark .chips li { background: transparent; border-color: var(--line-d); color: var(--text-d); }

.app-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); counter-reset: app; }
.app-list li { counter-increment: app; padding: 18px 10px 18px 52px; border-bottom: 1px solid var(--line); position: relative; }
.app-list li:nth-child(odd) { border-right: 1px solid var(--line); }
.app-list li::before { content: counter(app, decimal-leading-zero); position: absolute; left: 10px; top: 20px; font: .74rem var(--f-mono); color: #8a5a00; }
.app-list strong { display: block; }
.blk--dark .app-list, .blk--dark .app-list li { border-color: var(--line-d); }
.blk--dark .app-list li::before { color: var(--amber); }
.blk--dark .app-list strong { color: var(--white); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 30px; }
.why-grid--2 { grid-template-columns: repeat(2, 1fr); }
.why-grid--3 { grid-template-columns: repeat(3, 1fr); }
.why { background: var(--white); padding: 28px 24px; }
.why h3 { font-size: 1.1rem; display: flex; gap: 10px; align-items: center; }
.why h3::before { content: ""; width: 10px; height: 10px; background: var(--amber); flex: none; }
.why p { margin: 0; color: var(--muted); font-size: .95rem; }
.blk--dark .why-grid { background: var(--line-d); border-color: var(--line-d); }
.blk--dark .why { background: var(--ink-2); }

.timeline { list-style: none; padding: 0; margin: 30px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 14px 0; position: relative; }
.timeline li::after { content: ""; position: absolute; left: 88px; top: 22px; width: 9px; height: 9px; background: var(--amber); }
.timeline time { font: 600 1rem var(--f-mono); }
.timeline p { margin: 0; }

.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person { background: var(--white); border: 1px solid var(--line); padding: 26px; position: relative; }
.person__init { width: 64px; height: 64px; display: grid; place-items: center; background: var(--ink); color: var(--amber); font: 600 1.2rem var(--f-mono); margin-bottom: 18px; clip-path: polygon(0 0, 80% 0, 100% 20%, 100% 100%, 0 100%); }
.person h3 { font-size: 1.2rem; margin-bottom: 2px; }
.person__role { font: .74rem var(--f-mono); text-transform: uppercase; color: #8a5a00; margin-bottom: 14px; }
.person p { font-size: .94rem; color: var(--muted); }

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 50px 22px 0; font: 600 1.1rem var(--f-sans); color: inherit; position: relative; }
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.6rem var(--f-mono); color: var(--amber); transition: transform .2s; }
.faq__item.is-open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { padding: 0 0 22px; color: var(--muted); max-width: 60em; }
.faq__a[hidden] { display: none; }
.blk--dark .faq, .blk--dark .faq__item { border-color: var(--line-d); }

.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-card { background: var(--white); padding: 22px 24px; display: flex; gap: 16px; }
.contact-card .ico { color: var(--amber); width: 24px; height: 24px; }
.contact-card h3 { font: 500 .74rem var(--f-mono); text-transform: uppercase; color: var(--muted); margin-bottom: 6px; letter-spacing: .06em; }
.contact-card p, .contact-card a { margin: 0; font-size: 1.05rem; text-decoration: none; }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.logo-wall li { list-style: none; border: 1px solid var(--line); background: var(--white); padding: 22px 18px; font-weight: 600; text-align: center; }
.logo-wall { padding: 0; }
.partner { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.partner__name { font: 600 1.15rem var(--f-mono); }

.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.doc-list li span { flex: 1; }
.doc-list .ico { color: var(--amber); }
.doc-list a { font: 600 .76rem var(--f-mono); text-transform: uppercase; }

.legal-copy { max-width: 820px; }
.legal-copy h2 { font-size: 1.35rem; margin-top: 2em; padding-top: 1em; border-top: 1px solid var(--line); }
.legal-copy h2:first-child { margin-top: 0; border: 0; padding: 0; }

.link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.link-tile { display: flex; align-items: center; gap: 16px; padding: 22px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.link-tile:hover { border-color: var(--amber); transform: translateX(3px); color: var(--text); }
.link-tile__no { font: .74rem var(--f-mono); color: var(--muted); }
.link-tile__title { flex: 1; font-weight: 600; }
.link-tile .ico { color: var(--amber); width: 18px; }

table.spec-table, .entry table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--white); }
.spec-table th, .spec-table td, .entry table th, .entry table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th, .entry table thead th { font: 500 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); width: 32%; }
.entry table thead th { background: var(--ink); color: var(--amber); width: auto; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding: 8px 0 8px 28px; position: relative; border-bottom: 1px dashed var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }
.blk--dark .ticks li { border-color: var(--line-d); }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); position: relative; }
.form-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 80px; height: 3px; background: var(--amber); }
.form-card__title { font-size: 1.6rem; }
.form-card__intro { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 22px; }
.field { grid-column: 1 / -1; display: grid; gap: 6px; }
.field--half { grid-column: span 1; }
.field label { font: 500 .76rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.field abbr { color: var(--err); text-decoration: none; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--text); border-radius: 0; transition: border-color .15s, background .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--amber); background: var(--white); box-shadow: 0 0 0 3px rgba(245, 165, 36, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field__err { color: var(--err); font-size: .82rem; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font: 400 .9rem var(--f-sans) !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--text) !important; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber); flex: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; flex-wrap: wrap; }
.form-note { margin: 0; font-size: .82rem; color: var(--muted); }
.form-msg { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--muted); background: var(--paper); }
.form-msg.is-ok { border-color: var(--ok); }
.form-msg.is-err { border-color: var(--err); }
.hp { position: absolute; left: -9999px; }
.ws-form.is-loading button[type=submit] { opacity: .6; pointer-events: none; }

/* ---------- Catalog ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.tabs-nav--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.tabs-nav__btn { padding: 12px 16px; text-decoration: none; font: 500 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs-nav__btn:hover { color: var(--text); }
.tabs-nav__btn.is-active { color: var(--text); border-color: var(--amber); }
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 96px; background: var(--white); border: 1px solid var(--line); padding: 20px; }
.filters__toggle { display: none; }
.filters__group { border: 0; padding: 0; margin: 0 0 22px; }
.filters__group legend { font: 600 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.radio, .switch { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: .92rem; cursor: pointer; }
.radio small { margin-left: auto; font-family: var(--f-mono); color: var(--muted); }
.radio input, .switch input { accent-color: var(--amber); width: 16px; height: 16px; }
.filters__actions { display: flex; align-items: center; gap: 14px; }
.link-reset { font-size: .84rem; }
.filters__quick { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); display: grid; gap: 8px; }
.filters__quick label { font: 500 .72rem var(--f-mono); text-transform: uppercase; color: var(--muted); }
.filters__quick input { padding: 10px 12px; border: 1px solid var(--line); font: inherit; background: var(--paper); }
.catalog__count { font: .8rem var(--f-mono); color: var(--muted); margin-bottom: 16px; }
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 40px; }
.pager .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--line); background: var(--white); text-decoration: none; font-family: var(--f-mono); }
.pager .current { background: var(--ink); color: var(--amber); border-color: var(--ink); }

/* ---------- PDP ---------- */
.pdp { position: relative; background: var(--ink); color: var(--text-d); padding: 40px 0 70px; overflow: hidden; }
.pdp .wrap { position: relative; }
.pdp__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pdp__media { background: radial-gradient(circle at 50% 45%, #2e353f, #16191e 70%); border: 1px solid var(--line-d); padding: 40px; }
.pdp__title { font-family: var(--f-mono); font-size: clamp(2rem, 4vw, 3rem); color: var(--white); }
.pdp__sub { font-size: 1.15rem; color: var(--muted-d); }
.badges { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-d); font: .76rem var(--f-mono); }
.badges .ico { width: 15px; color: var(--amber); }
.badges .is-warn { border-color: var(--err); color: #ffb3ad; }
.pdp__meta { display: flex; gap: 32px; margin: 0 0 26px; }
.pdp__meta dt { font: .7rem var(--f-mono); text-transform: uppercase; color: var(--muted-d); }
.pdp__meta dd { margin: 4px 0 0; font-family: var(--f-mono); color: var(--white); }
.pdp__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pdp .btn--ghost { color: var(--text-d); }

.tabs__list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; }
.tabs__tab { background: none; border: 0; padding: 14px 18px; font: 500 .8rem var(--f-mono); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs__tab.is-active { color: var(--text); border-color: var(--amber); }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.feature-box { background: var(--white); border: 1px solid var(--line); padding: 26px; }
.feature-box h2 { font-size: 1.1rem; font-family: var(--f-mono); text-transform: uppercase; }
.mono-big { font: 600 1.4rem var(--f-mono); }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--amber); font-size: 1.15rem; }
.prose img { margin: 1.4em 0; }
.article__media { margin: 0 0 30px; }
.article__foot { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav { display: flex; justify-content: space-between; gap: 20px; }
.post-nav a { text-decoration: none; font-weight: 600; }
.tags { list-style: none; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.tags a { font: .74rem var(--f-mono); border: 1px solid var(--line); padding: 4px 10px; text-decoration: none; }
.article-aside { display: grid; gap: 18px; position: sticky; top: 96px; }
.aside-card { background: var(--white); border: 1px solid var(--line); padding: 22px; }
.aside-card__title { font: 600 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.aside-list a { text-decoration: none; }
.aside-card--dark { background: var(--ink); color: var(--text-d); border-color: var(--ink); }
.aside-card--dark p { color: var(--muted-d); font-size: .92rem; }

/* Search results / 404 */
.search-inline { margin-bottom: 30px; }
.results { list-style: none; padding: 0; margin: 0; }
.result { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.result__type { font: .7rem var(--f-mono); text-transform: uppercase; color: #8a5a00; }
.result__title { font-size: 1.2rem; font-weight: 600; text-decoration: none; }
.result__text { margin: 0; color: var(--muted); }
.e404 { background: var(--ink); color: var(--text-d); }
.e404__inner { padding: 100px var(--gut); text-align: center; max-width: 680px; }
.e404__code { font: 700 clamp(6rem, 20vw, 12rem)/1 var(--f-mono); color: transparent; -webkit-text-stroke: 2px var(--amber); margin: 0; }
.e404 h1 { color: var(--white); font-size: 2rem; }
.e404 .search-form { margin: 24px 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--muted-d); font-size: .94rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 36px; padding-top: 70px; padding-bottom: 50px; }
.footer__lead { margin: 18px 0; max-width: 28em; }
.footer__addr { font-style: normal; display: grid; gap: 10px; margin-bottom: 22px; }
.footer__addr span, .footer__addr a { display: flex; gap: 10px; color: var(--text-d); text-decoration: none; }
.footer__addr .ico { width: 16px; color: var(--amber); margin-top: 4px; }
.footer .btn--ghost { color: var(--text-d); }
.footer__h { font: 600 .74rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--white); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-d); }
.footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer__menu a { color: var(--muted-d); text-decoration: none; }
.footer__menu a:hover { color: var(--amber); }
.footer__bar { border-top: 1px solid var(--line-d); font: .76rem var(--f-mono); }
.footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding-top: 20px; padding-bottom: 20px; }
.footer__bar p { margin: 0; }
.legal { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; flex: 1; }
.legal a { color: var(--muted-d); text-decoration: none; }
.legal a:hover { color: var(--amber); }
.social { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line-d); color: var(--text-d); }
.social a:hover { color: var(--amber); border-color: var(--amber); }
.social .ico { width: 17px; }

/* Cookie + to-top */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px; display: flex; align-items: center; gap: 18px; background: var(--ink-2); color: var(--text-d); border: 1px solid var(--line-d); border-left: 3px solid var(--amber); padding: 16px 18px; font-size: .9rem; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.cookie p { margin: 0; }
.cookie a { color: var(--amber); }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 80; width: 44px; height: 44px; border: 1px solid var(--line-d); background: var(--ink); color: var(--amber); opacity: 0; visibility: hidden; transition: opacity .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; }

/* Reveal on scroll (JS adds .reveal; no-JS shows everything) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.cat-tiles, .why-grid { grid-template-columns: repeat(2, 1fr); }
	.ngrid { grid-template-columns: repeat(2, 1fr); }
	.rail { grid-auto-columns: calc((100% - 18px) / 2); }
	.pgrid--4 { grid-template-columns: repeat(2, 1fr); }
	.footer__top { grid-template-columns: 1fr 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
	.people { grid-template-columns: repeat(2, 1fr); }
	.masthead__cta { display: none; }
}

@media (max-width: 960px) {
	.burger { display: inline-flex; }
	.nav { position: fixed; inset: 108px 0 0 0; background: var(--ink-2); overflow-y: auto; padding: 10px var(--gut) 40px; transform: translateX(100%); transition: transform .3s var(--ease); visibility: hidden; }
	.nav.is-open { transform: none; visibility: visible; }
	body.nav-locked { overflow: hidden; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line-d); }
	.nav__link { flex: 1; padding: 18px 0; font-size: 1.1rem; }
	.nav__link::after { display: none; }
	.nav__toggle { width: 48px; height: 48px; justify-content: center; margin: 0; }
	.mega { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; display: none; border: 0; background: transparent; }
	.nav__item.is-open > .mega { display: block; }
	.mega__inner { padding: 0 0 14px; }
	.mega__list { grid-template-columns: 1fr; }
	.mega__link { padding: 12px 12px 12px 44px; }
	.mega__link::before { left: 10px; top: 14px; }
	.nav__mobile-extra { display: block; margin-top: 24px; }
	.hero__inner, .split__inner, .proof__inner, .cols, .cols--60, .pdp__inner, .two-col, .article-layout { grid-template-columns: 1fr; }
	.hero__visual { max-width: 460px; }
	.guide__inner, .cta-band__inner { grid-template-columns: 1fr; gap: 24px; }
	.guide__book { display: none; }
	.catalog { grid-template-columns: 1fr; }
	.filters { position: static; padding: 0; }
	.filters__toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; background: var(--white); border: 0; padding: 16px 18px; font: 600 .8rem var(--f-mono); text-transform: uppercase; }
	.filters__toggle .ico { width: 18px; transition: transform .2s; }
	.filters.is-open .filters__toggle .ico { transform: rotate(180deg); }
	.filters__form, .filters__quick { display: none; padding: 0 18px 18px; }
	.filters.is-open .filters__form, .filters.is-open .filters__quick { display: grid; }
	.pgrid { grid-template-columns: repeat(2, 1fr); }
	.article-aside { position: static; }
	.app-list { grid-template-columns: 1fr; }
	.app-list li:nth-child(odd) { border-right: 0; }
	.topbar__tag { display: none; }
	.topbar__inner { justify-content: flex-end; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.cat-tiles, .why-grid, .why-grid--2, .why-grid--3, .ngrid, .ngrid--3, .pgrid, .pgrid--4, .people, .form-grid { grid-template-columns: 1fr; }
	.field--half { grid-column: 1 / -1; }
	.rail { grid-auto-columns: 86%; }
	.footer__top { grid-template-columns: 1fr 1fr; }
	.hero__specs li { border-right: 0; border-bottom: 1px solid var(--line-d); }
	.stats { grid-template-columns: 1fr 1fr; }
	.partner { grid-template-columns: 1fr; gap: 6px; }
	.timeline::before { left: 6px; }
	.timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 30px; }
	.timeline li::after { left: 2px; }
	.topbar__links { gap: 14px; }
	.topbar__links li:nth-child(3) { display: none; }
	.cookie { flex-direction: column; align-items: flex-start; }
	.section__head { margin-bottom: 26px; }
	.rail-nav { display: none; }
}

@media print {
	.topbar, .masthead, .footer, .cookie, .to-top, .cta-band, .news-band { display: none !important; }
	body { background: #fff; }
}

/* ---------- Additions (static build) ---------- */
.btn--dark { --bg: var(--ink); --fg: var(--white); }
.btn--dark:hover { --bg: var(--ink-3); color: var(--white); }
.mega__head { margin: 0 0 12px; }
.mega__head .kicker { margin: 0; }
.nav__phone { display: inline-flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--text-d); text-decoration: none; font-family: var(--f-mono); }
.nav__phone .ico { width: 16px; color: var(--amber); }
.nav__mobile-extra .btn { margin-right: 12px; }
.b-screen { fill: #0d2230; stroke: #24485e; }
.b-fin { fill: #3a414c; }
.b-port { fill: #0f1113; stroke: #c99a3e; }
.catalog__more { margin-top: 30px; text-align: center; }
button.link-reset { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; font-size: .84rem; }
[hidden] { display: none !important; }
.filters__form { display: grid; gap: 4px; }
.filters__quick { margin: 0 0 18px; padding: 0 0 18px; border-top: 0; border-bottom: 1px dashed var(--line); }
.rail-nav__btn:disabled { opacity: .35; cursor: default; }
.split__copy .btn { margin-top: 10px; color: var(--text-d); }
.hero__note { margin-top: 12px; }

/* ---------- Photography ---------- */
picture { display: block; }
picture img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo, .phero__photo, .split__bg { position: absolute; inset: 0; }
.hero__photo img { opacity: .28; filter: grayscale(.4) contrast(1.1); }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 25%, rgba(18, 20, 24, .55) 70%, rgba(18, 20, 24, .85)); }
.hero__frame { position: relative; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); border: 1px solid var(--line-d); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .7); aspect-ratio: 4 / 3; }
.hero__frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 6px rgba(245, 165, 36, .0); background: linear-gradient(180deg, transparent 60%, rgba(18, 20, 24, .5)); }
.hero__visual::before { content: ""; position: absolute; left: -18px; top: -18px; width: 90px; height: 90px; border-left: 2px solid var(--amber); border-top: 2px solid var(--amber); z-index: 1; }

.phero--photo .phero__photo img { opacity: .32; filter: grayscale(.55) contrast(1.05); }
.phero--photo .phero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 30%, rgba(18, 20, 24, .6)); }
.phero--photo .phero__inner { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(60px, 8vw, 116px); }

.split--photo { position: relative; overflow: hidden; }
.split--photo .split__bg img { opacity: .14; filter: grayscale(1); }
.split--photo .wrap { position: relative; }

/* Category tiles with photo */
.cat-tile { padding: 0; min-height: 0; }
.cat-tile__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.cat-tile__media img { transition: transform .5s var(--ease), filter .3s; filter: saturate(.85); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.06); filter: saturate(1); }
.cat-tile__media .cat-tile__no { position: absolute; left: 12px; top: 12px; background: var(--ink); color: var(--amber); padding: 4px 8px; }
.cat-tile__body { display: flex; flex-direction: column; flex: 1; padding: 0 22px 22px; position: relative; }
.cat-tile__body .cat-tile__ico { margin: -26px 0 14px; position: relative; z-index: 1; }

/* Industry strip */
.ind-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.ind-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white); text-decoration: none; background: var(--ink); clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%); }
.ind-card:hover { color: var(--white); }
.ind-card__img { position: absolute; inset: 0; }
.ind-card__img img { transition: transform .6s var(--ease); }
.ind-card:hover .ind-card__img img { transform: scale(1.07); }
.ind-card__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18, 20, 24, .1) 30%, rgba(18, 20, 24, .92)); transition: background .3s; }
.ind-card:hover .ind-card__shade { background: linear-gradient(180deg, rgba(18, 20, 24, .2) 10%, rgba(18, 20, 24, .95)); }
.ind-card__no { position: absolute; top: 14px; left: 14px; font: .72rem var(--f-mono); color: var(--amber); }
.ind-card__body { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 4px; }
.ind-card__title { font-weight: 600; font-size: 1.15rem; line-height: 1.2; }
.ind-card__desc { font-size: .84rem; color: var(--muted-d); }
.ind-card__arrow { position: absolute; right: 16px; top: 14px; width: 18px; color: var(--amber); transform: rotate(-45deg); transition: transform .25s; }
.ind-card:hover .ind-card__arrow { transform: rotate(0); }

/* Content photos */
.media-frame { position: relative; overflow: hidden; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); background: var(--ink); }
.media-frame picture { aspect-ratio: 4 / 3; }
.media-frame figcaption { position: absolute; left: 0; bottom: 0; background: var(--ink); color: var(--muted-d); font: .7rem var(--f-mono); padding: 6px 10px; }
.product-photo { width: 100%; height: 100%; object-fit: contain; }
.credits { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .92rem; }

@media (max-width: 1100px) { .ind-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
	.ind-strip { grid-template-columns: 1fr 1fr; }
	.ind-card { aspect-ratio: 4 / 5; }
}
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; display: grid; justify-items: center; gap: 6px; }
.empty-state .cat-tile__ico { margin: 0 0 10px; }
.support-search { display: grid; gap: 14px; }
.blk .why-grid { margin-top: 26px; }
.app-list li span { display: block; color: var(--muted); font-size: .92rem; margin-top: 3px; }
.blk--dark .app-list li span { color: var(--muted-d); }
/* Product photos */
.pcard__media:has(.pphoto) { padding: 0; }
.pcard__media .pphoto { width: 100%; height: 100%; }
.pcard__media .pphoto img { transition: transform .5s var(--ease); }
.pcard:hover .pcard__media .pphoto img { transform: scale(1.05); }
.pdp__media:has(.pphoto) { padding: 0; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.pdp__media .pphoto { height: 100%; }
.ncard__media { margin: -22px -22px 16px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); }
.ncard__media img { transition: transform .5s var(--ease); }
.ncard:hover .ncard__media img { transform: scale(1.05); }
.e404 { position: relative; overflow: hidden; }
.e404 .hero__photo img { opacity: .2; }
.article__media picture { aspect-ratio: 16 / 9; }
.pcard__media:has(.pphoto) { place-items: stretch; }
.pcard__media .pphoto, .pdp__media .pphoto { display: block; width: 100%; height: 100%; }

/* ==========================================================================
   Home hero v2 — full-bleed industry slideshow
   ========================================================================== */
.hx { position: relative; min-height: min(92vh, 900px); display: flex; flex-direction: column; background: var(--ink); color: var(--text-d); overflow: hidden; isolation: isolate; }
.hx__slides { position: absolute; inset: 0; z-index: -1; }
.hx__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.hx__slide.is-active { opacity: 1; }
.hx__slide picture { height: 100%; }
.hx__slide img { transform: scale(1.08); transition: transform 8s linear; }
.hx__slide.is-active img { transform: scale(1); }
.hx__shade { position: absolute; inset: 0; background:
	linear-gradient(90deg, rgba(18, 20, 24, .94) 0%, rgba(18, 20, 24, .72) 45%, rgba(18, 20, 24, .25) 100%),
	linear-gradient(0deg, rgba(18, 20, 24, .95) 0%, transparent 38%); }
.hx__scan { position: absolute; inset: 0; background-image: linear-gradient(var(--line-d) 1px, transparent 1px), linear-gradient(90deg, var(--line-d) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); opacity: .6; }

.hx__inner { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: center; gap: 48px; padding-top: clamp(56px, 9vh, 110px); padding-bottom: 40px; }
.hx__eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .76rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); border: 1px solid rgba(245, 165, 36, .35); padding: 8px 14px; margin-bottom: 26px; background: rgba(18, 20, 24, .5); }
.hx__pulse { width: 8px; height: 8px; background: var(--amber); border-radius: 50%; box-shadow: 0 0 0 0 rgba(245, 165, 36, .6); animation: hxpulse 2s infinite; }
@keyframes hxpulse { 70% { box-shadow: 0 0 0 10px rgba(245, 165, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 165, 36, 0); } }
.hx__title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: .95; letter-spacing: -.04em; color: var(--white); max-width: 13ch; margin-bottom: 26px; }
.hx__title em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--amber); display: inline-block; }
.hx__lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #c9ccd2; max-width: 34em; margin-bottom: 34px; }
.hx__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hx__link { display: inline-flex; align-items: center; gap: 10px; color: var(--white); text-decoration: none; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 4px; }
.hx__link .ico { width: 18px; color: var(--amber); }
.hx__link:hover { color: var(--amber); border-color: var(--amber); }

.hx__card { position: relative; display: block; background: rgba(26, 29, 35, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); text-decoration: none; color: var(--text-d); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: transform .3s var(--ease), border-color .3s; align-self: end; margin-bottom: 20px; }
.hx__card:hover { transform: translateY(-6px); border-color: var(--amber); color: var(--text-d); }
.hx__badge { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--amber); color: var(--amber-ink); font: 600 .66rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; }
.hx__card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.hx__card-media .pphoto, .hx__card-media img { width: 100%; height: 100%; }
.hx__card-body { display: grid; gap: 6px; padding: 18px 20px 20px; }
.hx__card-model { font: 600 1.25rem var(--f-mono); color: var(--white); }
.hx__card-sub { font-size: .88rem; color: var(--muted-d); }
.hx__card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 600 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--amber); }
.hx__card-cta .ico { width: 15px; transition: transform .2s; }
.hx__card:hover .hx__card-cta .ico { transform: translateX(4px); }

.hx__dock { position: relative; border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(18, 20, 24, .72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hx__dock-inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "stats tabs pause" "stats cap pause"; column-gap: 40px; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.hx__stats { grid-area: stats; list-style: none; margin: 0; padding: 0 40px 0 0; display: flex; gap: 28px; border-right: 1px solid rgba(255, 255, 255, .12); }
.hx__stats li { display: grid; gap: 2px; }
.hx__stats b { font: 600 1.05rem var(--f-mono); color: var(--white); white-space: nowrap; }
.hx__stats span { font-size: .74rem; color: var(--muted-d); white-space: nowrap; }
.hx__tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.hx__tab { background: none; border: 0; padding: 4px 0 0; text-align: left; color: var(--muted-d); display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 8px; cursor: pointer; }
.hx__tab-no { font: .7rem var(--f-mono); color: var(--steel); }
.hx__tab-label { font-size: .86rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx__tab:hover, .hx__tab.is-active { color: var(--white); }
.hx__tab.is-active .hx__tab-no { color: var(--amber); }
.hx__bar { grid-column: 1 / -1; height: 2px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.hx__bar i { display: block; height: 100%; width: 0; background: var(--amber); }
.hx__tab.is-done .hx__bar i { width: 100%; }
.hx__caption { grid-area: cap; position: relative; min-height: 22px; margin-top: 8px; }
.hx__cap { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; font: .76rem var(--f-mono); color: var(--muted-d); text-decoration: none; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; pointer-events: none; }
.hx__cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hx__cap:hover { color: var(--amber); }
.hx__cap .ico { width: 14px; color: var(--amber); }
.hx__pause { grid-area: pause; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; display: grid; place-items: center; border-radius: 50%; }
.hx__pause span { width: 10px; height: 12px; border-left: 3px solid var(--white); border-right: 3px solid var(--white); }
.hx__pause.is-paused span { width: 0; height: 0; border: 0; border-left: 10px solid var(--white); border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.hx__pause:hover { border-color: var(--amber); }
.hx__note { position: absolute; right: var(--gut); top: 14px; margin: 0; font: .66rem var(--f-mono); color: rgba(255, 255, 255, .35); }

@media (max-width: 1100px) {
	.hx__dock-inner { grid-template-columns: 1fr auto; grid-template-areas: "tabs pause" "cap pause" "stats stats"; row-gap: 14px; }
	.hx__stats { border-right: 0; padding: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); }
}
@media (max-width: 960px) {
	.hx__inner { grid-template-columns: 1fr; gap: 30px; }
	.hx__card { max-width: 420px; display: grid; grid-template-columns: 140px 1fr; align-self: start; }
	.hx__card-media { aspect-ratio: auto; }
	.hx__shade { background: linear-gradient(180deg, rgba(18, 20, 24, .75), rgba(18, 20, 24, .92)); }
}
@media (max-width: 640px) {
	.hx { min-height: 0; }
	.hx__tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
	.hx__tab-label { display: none; }
	.hx__tab { grid-template-columns: 1fr; }
	.hx__stats { gap: 18px; flex-wrap: wrap; }
	.hx__card { grid-template-columns: 110px 1fr; }
	.hx__card-body { padding: 12px 14px; }
	.hx__card-model { font-size: 1rem; }
	.hx__card-sub { display: none; }
	.hx__note { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hx__slide img { transform: none !important; } }
/* Hero v2 — fit to viewport */
.hx { min-height: calc(100vh - 114px); min-height: calc(100svh - 114px); max-height: none; }
.hx__inner { padding-top: clamp(36px, 6vh, 80px); padding-bottom: 28px; }
.hx__title { font-size: clamp(2.5rem, 5.4vw, 4.8rem); max-width: 15ch; margin-bottom: 20px; }
.hx__eyebrow { margin-bottom: 20px; }
.hx__lead { margin-bottom: 28px; }
.hx__dock-inner { padding-top: 14px; padding-bottom: 14px; column-gap: 32px; }
.hx__stats { gap: 22px; padding-right: 32px; }
.hx__tab-label { white-space: normal; overflow: visible; font-size: .82rem; line-height: 1.2; }
.hx__card { margin-bottom: 0; }
@media (max-height: 760px) and (min-width: 961px) { .hx__card-media { aspect-ratio: 16 / 8; } .hx__lead { font-size: 1rem; } }
@media (max-width: 640px) { .hx { min-height: 0; } .hx__badge { top: auto; bottom: 6px; left: 6px; font-size: .58rem; padding: 3px 6px; } }
.hx__tabs { align-items: end; }
.pcard__media .pphoto img, .pdp__media .pphoto img, .hx__card-media img { object-fit: cover; }
