/*
Theme Name: Skobex
Description: Hand-coded classic theme for skobex.lt — built on the Omni Business Lab wp-kit. No builders, no third-party plugins, no external assets.
Version: 2.2.3
Author: Omni Business Lab
Text Domain: skobex
*/

/* Tokens are enqueued from assets/tokens.css before this file.
   Design: DESIGN-BRIEF.md (G0) — steel-black ground, one red accent (≤ 5 %),
   Archivo display + IBM Plex body, glass panels only on figures/credentials,
   industrial radii. Type bands: SOP § 5 (tokens --fs-*). */

/* ================================================================
   == kit primitives (wp-kit v1.2.0) — keep in style.css: G1 W-G1-09
   == greps THIS file for prefers-reduced-motion / :focus-visible /
   == scroll-margin-top.
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--c-bg); color: var(--c-ink); font: var(--fw-body) var(--fs-base) / var(--lh-body) var(--ff-body); }
img, svg, video { max-width: 100%; height: auto; display: block; }

/* skip link — FIRST focusable in <body>, targets <main id="main"> */
.skip-link { position: absolute; left: var(--s-4); top: -100px; z-index: 100; background: var(--c-ink); color: var(--c-bg); padding: var(--s-3) var(--s-4); border-radius: var(--radius); text-decoration: none; font-weight: var(--fw-bold); }
.skip-link:focus { top: var(--s-4); }

/* keyboard focus — visible on every control, never removed */
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.btn:focus-visible, .site-nav a:focus-visible { outline-offset: 3px; }

/* anchors land below the sticky header (P819 class 6: the form notice) */
[id] { scroll-margin-top: calc(var(--header-h) + var(--s-5)); }

/* reveal primitive — the CLASS is added by motion.js to below-the-fold
   [data-rv] targets only; the raw HTML never carries .rv, so no-JS shows all */
.rv { opacity: 0; transform: translateY(var(--rv-shift)); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); will-change: opacity, transform; }
.rv.on { opacity: 1; transform: none; will-change: auto; }

/* reduced motion — every animation and transition the theme declares is
   neutralised, and every reveal target is visible */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
	.rv, .rv.on { opacity: 1; transform: none; transition: none; }
}
/* ================================================================ end kit primitives */

/* ---- type ---- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: var(--fw-display); font-stretch: 125%; letter-spacing: var(--ls-display); line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
.center p { margin-inline: auto; }
a { color: var(--c-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--c-muted); transition: color var(--dur-fast) var(--ease), text-decoration-color var(--dur-fast) var(--ease); }
a:hover { text-decoration-color: var(--c-accent); }
strong { font-weight: var(--fw-bold); }
.lead { font-size: var(--fs-lg); color: var(--c-muted); line-height: 1.5; }
.muted { color: var(--c-muted); }
.num, .spec dd, .spec-table td { font-variant-numeric: tabular-nums; font-feature-settings: var(--num-features); }

/* ---- layout ---- */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--wrap-narrow); }
.center { text-align: center; }
.block { padding-block: var(--s-8); }
.block.alt { background: var(--c-bg-2); }
.cols-2 { display: grid; grid-template-columns: 1fr; gap: var(--s-6); align-items: center; }
.cols-2.top { align-items: start; }
.site-main { min-height: 60vh; }

/* ---- header: sticky; logo + tools on the first row, nav on the second (375 px) ---- */
/* the header is two rows (logo + tools / nav) below 1000 px: --header-h feeds scroll-margin-top so a
   `?sent=1#pranesimas` landing sits BELOW the sticky bar at 375 (P819 class 6; measured 100 px at 375/390) */
:root { --header-h: 64px; }   /* v2: below 1000 px the header is ONE row (logo · LT/EN · CTA · Meniu); the menu is a panel, so the sticky bar is 64 px, not two rows */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--s-1) var(--s-4); min-height: var(--header-h); flex-wrap: wrap; padding-block: var(--s-2); }
.site-brand { display: inline-flex; align-items: center; text-decoration: none; }
.site-brand { flex: none; }
.site-brand img { height: 30px; width: auto; }             /* his SVG, downscaled from 119 px; no other CSS on it */
/* < 480 px: the first header row (logo · LT/EN · CTA) must fit BEFORE the webfont lands, or the row wraps
   and un-wraps on font swap (CLS 0.088 measured on /en/ at 375). The CTA tightens; the logo may shrink
   (a downscale, SOP § 3) but never wraps. */
@media (max-width: 479px) {
	.site-brand { flex: 1 1 0; min-width: 0; }   /* basis 0: the row never wraps; the logo shrinks instead */
	.site-brand img { height: auto; max-height: 30px; max-width: 100%; }
	.header-cta { padding: 0 14px; font-size: .875rem; }
	.header-tools { gap: var(--s-1); }
}
.header-tools { display: inline-flex; align-items: center; gap: var(--s-2); margin-left: auto; flex: none; }
.site-nav { order: 3; width: 100%; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
.site-nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: var(--s-1) 0; color: var(--c-ink); text-decoration: none; font-weight: 500; font-size: .9375rem; white-space: nowrap; }
/* micro-interaction: underline grows from the left (transform only) */
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-fast) var(--ease); }
.site-nav a:hover::after, .site-nav .current-menu-item a::after, .site-nav .current-page-ancestor a::after { transform: scaleX(1); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; font-size: .875rem; font-weight: 600; letter-spacing: .02em; text-decoration: none; color: var(--c-muted); padding: var(--s-2); }
.lang:hover { color: var(--c-ink); }

/* ---- buttons: colour + a 1-px lift on hover, press returns ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: var(--btn-h); background: var(--c-accent); color: var(--c-accent-ink); padding: 0 22px; border: 1px solid var(--c-accent); border-radius: var(--radius); text-decoration: none; font: inherit; font-weight: var(--fw-bold); line-height: 1.2; cursor: pointer; transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.btn:hover { background: var(--c-accent-deep); border-color: var(--c-accent-deep); color: var(--c-accent-ink); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--c-ink); border-color: var(--c-muted); }
.btn.ghost:hover { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-bg); }
.btn.small { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn .icon { width: 1.1em; height: 1.1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; }
.cta-row.start { justify-content: flex-start; }

/* ---- icons ---- */
.icon { width: var(--icon-size); height: var(--icon-size); flex: none; stroke-width: var(--icon-stroke); }   /* one family: 1.8 px on the 24 grid (brief "Ikonos") */
.feature .icon { width: 28px; height: 28px; color: var(--c-accent); margin-bottom: var(--s-3); }

/* hero search (U5): the catalogue search box on the front page, GET ?q= → /produktai/ */
.hero .search { margin: var(--s-5) 0 0; max-width: 520px; }
.hero .search-row input { background: rgba(28, 30, 34, .85); }
.hero-cta { margin-bottom: 0; }

/* ---- product cards: content is a list of equals ---- */
.cards { display: grid; grid-template-columns: 1fr; gap: var(--s-5); margin-block: var(--s-5) var(--s-6); align-items: start; }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5); display: grid; align-content: start; gap: var(--s-2); }
.card h3, .card h2 { margin: 0; font-size: var(--fs-h3); line-height: 1.2; }   /* a card title is one size whatever its level (h2 straight under a category H1, h3 under a section H2) */
.card h3 a, .card h2 a { text-decoration: none; display: inline-block; padding-block: 12px; margin-block: -12px; }   /* 44-px target without moving the text */
.card h3 a:hover, .card h2 a:hover { color: var(--c-accent); }
.card-media { display: flex; align-items: center; justify-content: center; height: 204px; background: #fff; border-radius: var(--radius); padding: var(--s-3); margin-bottom: var(--s-2); }   /* white plate, FIXED height so a lazy image never shifts the card (CLS); his drawings and photos come on white; the image itself is untouched */
.card-media img { max-height: 180px; max-width: 100%; width: auto; height: auto; }
.card-media .outline, .product-media .outline { color: #4a4f57; }   /* media-slot fallback (no photo that agrees with the table, fix r1 CE 3): a static outline, ours, no numbers */
.card-media .outline { max-height: 150px; width: auto; height: auto; }
.product-media .outline { display: block; background: #fff; padding: var(--s-4); width: 100%; max-width: 420px; height: auto; }
.card-sub { color: var(--c-muted); margin: 0; }
.card-desc { margin: 0; }
.card-lengths { color: var(--c-muted); margin: 0; font-size: .9375rem; }
.spec { margin: var(--s-2) 0 0; display: grid; gap: 6px; }
.spec div { display: grid; grid-template-columns: 5.5em 1fr; gap: var(--s-3); border-top: 1px solid var(--c-line); padding-top: 6px; }
.spec dt { color: var(--c-muted); margin: 0; font-size: .9375rem; }
.spec dd { margin: 0; }
.card-cta { margin: var(--s-3) 0 0; }
.product[hidden] { display: none; }
.cards .wide { grid-column: 1 / -1; }

/* ---- catalogue search ---- */
.search { margin-block: var(--s-4) var(--s-6); max-width: 640px; }
.search label { display: block; font-size: var(--fs-sm); font-weight: 600; color: var(--c-muted); margin-bottom: var(--s-1); }
.search-row { position: relative; }
.search-row .icon { position: absolute; left: var(--s-4); top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.search-row input { width: 100%; min-width: 0; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-muted); border-radius: var(--radius); font: inherit; padding: 12px var(--s-4) 12px calc(var(--s-4) + 24px + var(--s-3)); transition: border-color var(--dur-fast) var(--ease); }
.search-row input:hover { border-color: var(--c-ink); }
.search-row input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(225, 34, 33, .25); }   /* the kit's 3-px ring on the field itself, like every .kit-form input (fix r3, QA F10 / W-G2-02) */
.search-row input::placeholder { color: var(--c-muted); opacity: 1; }
.search-count { color: var(--c-muted); font-size: var(--fs-sm); margin: var(--s-2) 0 0; min-height: 1.2em; }
.search-empty { margin: var(--s-4) 0 0; color: var(--c-ink); }
.catalogue h2 { margin-top: var(--s-6); }
.notes h3 { margin-bottom: .3em; }
.notes p { color: var(--c-muted); }

/* ---- product detail ---- */
.crumbs { padding-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); font-size: .9375rem; color: var(--c-muted); }
.crumbs a { color: var(--c-muted); display: inline-block; padding-block: 10px; }   /* ≥ 44 px tap target */
.crumbs a:hover { color: var(--c-ink); }
.crumbs span::before { content: "›"; margin-right: var(--s-2); }
.crumbs + .page-head { padding-top: var(--s-4); }
.page-head { padding-block: var(--s-7) 0; }
.page-head h1 { margin-bottom: .3em; }
/* v2 fix r2 lang (Jonas 09-25): the trade term ONCE on an LT family / category page — a quiet line inside the H1 (SEO), not a second heading */
.h1-term { display: block; margin-top: .35em; font-family: var(--ff-body); font-stretch: 100%; font-weight: 400; font-size: var(--fs-base, 1rem); letter-spacing: 0; line-height: 1.4; color: var(--c-muted); }
.page-head .lead { margin-bottom: 0; }
.page-head + .block, .page-head + section.block { padding-top: var(--s-5); }
.product-detail { padding-top: var(--s-6); }
.product-media { display: grid; gap: var(--s-4); }
.product-media img { background: #fff; padding: var(--s-4); width: 100%; max-width: min(560px, calc(var(--nw, 840) / 1.5 * 1px)); }   /* cap = native width / 1.5 DPR (--nw from the seeder), so a 560-px drawing is never upscaled on a retina phone; no border-radius on his artwork (SOP § 3, W-G1-21) */
.spec-table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-5); }
.spec-table th, .spec-table td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.spec-table th { color: var(--c-muted); font-weight: 500; width: 9em; padding-right: var(--s-4); }
.spec-table td.num { letter-spacing: .01em; }

/* ---- glass v2 (design-v2/SPEC.md § 1): transparency, not blur — rgba white + Skobex tint, blur 14 px saturate,
   inset top highlight, refraction edge, depth shadow, a diagonal sheen that shifts on hover (transform only).
   RULE: glass sits only over something to see through — a photo band or drawing lines — never over flat --c-bg;
   ≤ 9 per page here (5 USP + 4 figures), ≤ 6 in any one viewport. Fallback without backdrop-filter = flat graphite. */
.figures { position: relative; }
.glass { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; background: linear-gradient(115deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 40%), linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .06)), var(--c-glass); border: 1px solid var(--c-glass-line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .06), 0 20px 60px rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%); backdrop-filter: blur(var(--glass-blur)) saturate(160%); }
.glass::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .14) 50%, transparent 65%); transform: translateX(-30%); transition: transform .9s var(--ease); }
.glass:hover::after, .glass:focus-within::after { transform: translateX(30%); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .glass { background: rgba(28, 30, 34, .92); } }
.glass > * { position: relative; }
.glass .icon { width: 26px; height: 26px; color: var(--c-bg); background: var(--c-ink); border-radius: 50%; padding: 15px; box-sizing: content-box; }
.glass .num { font-family: var(--ff-display); font-stretch: 125%; font-weight: 600; font-size: var(--fs-num); line-height: 1; letter-spacing: -.01em; margin-top: var(--s-2); }
.glass span { color: var(--c-muted); }
.glass.iso { grid-template-columns: auto 1fr; align-items: center; gap: var(--s-4); margin: var(--s-4) 0 var(--s-5); }
.glass.iso span { color: var(--c-ink); }
.glass.iso.big { grid-template-columns: auto auto; justify-content: start; margin: 0; }
.glass.iso.big .num { margin: 0; }
.glass.center h2 { margin-bottom: .3em; }
.glass.center p { color: var(--c-muted); }
.glass-row { display: grid; grid-template-columns: 1fr; gap: var(--s-4); }
.glass-row .glass { justify-items: center; text-align: center; }

/* photo band: a section with his production photo behind the glass (the only thing that makes glass read as glass).
   The <img> is an ambient background here, not his artwork on display — the same photos sit untouched in the gallery.
   Opacity + a gradient overlay only (no filter). Absolute, so it never shifts layout. */
.photo-band { position: relative; overflow: hidden; background: var(--c-bg); }
.photo-band > .band-photo, .hscroll__pin > .band-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: .55; }
.photo-band > .band-shade, .hscroll__pin > .band-shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--c-bg) 0%, rgba(15, 16, 18, .25) 45%, var(--c-bg) 100%); }
.photo-band > .wrap, .photo-band > .hscroll__pin { position: relative; }

/* ---- USP horizontal-scroll section (SPEC § 2): native swipe row by default; wow.js adds .hscroll--pin at ≥ 1000 px ---- */
.hscroll__pin { position: relative; padding-block: var(--s-7); overflow: hidden; }
.hscroll__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--s-3) var(--s-5); margin-bottom: var(--s-5); }
.hscroll__pin > .wrap, .hscroll__track, .hscroll__dots { position: relative; z-index: 1; }   /* above .band-shade, which is absolute and painted later in DOM order (fix r3 CE 6: the H2 read grey) */
.hscroll__head h2 { margin: 0; }
.hscroll__meta { display: flex; align-items: center; gap: var(--s-4); }
.hscroll__count { font-family: var(--ff-display); font-stretch: 125%; font-weight: 600; font-size: 1.125rem; font-variant-numeric: tabular-nums; color: var(--c-ink); min-width: 4.5em; }
.hscroll__bar { width: 140px; height: 2px; background: var(--c-line); overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; background: var(--c-accent); transform: scaleX(.2); transform-origin: left; transition: transform 120ms linear; }
.hscroll__track { display: flex; gap: var(--s-4); padding-inline: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); padding-bottom: var(--s-2); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll__dots { display: flex; gap: 6px; padding-inline: var(--gutter); margin-top: var(--s-3); }
.hscroll__dots i { width: 8px; height: 4px; border-radius: 2px; background: var(--c-line); }
.hscroll__dots i.on { width: 28px; background: var(--c-accent); }
.usp { flex: 0 0 min(82vw, 520px); min-height: 320px; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-5); padding: var(--s-6); }
.glass .usp__n { font-family: var(--ff-display); font-stretch: 125%; font-weight: 800; font-size: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); line-height: 1; color: var(--c-accent); }
.usp h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.5rem); margin: 0 0 var(--s-2); }   /* ≤ 24 px: SOP § 5 H3 band */
.usp p { margin: 0; color: var(--c-ink); }
.hscroll--pin { position: relative; }
.hscroll--pin .hscroll__pin { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-block: 0; }
.hscroll--pin .hscroll__pin > .wrap { width: 100%; }   /* auto margins would shrink-wrap the head inside the column flex pin */
.hscroll--pin .hscroll__track { overflow: visible; scroll-snap-type: none; will-change: transform; }
.hscroll--pin .hscroll__dots { display: none; }
.hscroll--pin .usp { flex-basis: 520px; min-height: 360px; }

/* stroke-draw contract (wow.js): .draw-wait hides strokes (dashoffset 1 with pathLength="1"), .is-in draws them.
   Only under html.js; reduced motion and no-JS never hide a stroke (the global reduce block zeroes durations). */
.js .draw-wait .icon.draw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .draw-wait.is-in .icon.draw { stroke-dashoffset: 0; transition: stroke-dashoffset 600ms cubic-bezier(.2, .7, .2, 1) calc(var(--i, 0) * 80ms); }
.js .draw-wait .step__ring::after { opacity: 0; }

/* ---- placeholder slots (SPEC § 5): what the client still has to send; visible on staging by design ---- */
.slot { border: 1px dashed var(--c-muted); border-radius: 6px; background: var(--c-surface); padding: var(--s-4); display: grid; gap: 2px; align-content: center; color: var(--c-muted); font-size: .9375rem; line-height: 1.4; }
.slot b { color: var(--c-accent); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.slot span { display: block; }
.slot.tall { min-height: 200px; place-content: center; text-align: center; justify-items: center; }
.slot.wide { grid-column: 1 / -1; min-height: 0; margin-block: 0 var(--s-5); }   /* full-width row under a grid (fix r3 CE 8c) */
.cards .slot.wide { margin-block: 0; }
.slot.line { display: block; max-width: none; margin: var(--s-4) 0 0; padding: var(--s-3) var(--s-4); }   /* one line per product page (fix r3 CE 11) */
.slot.line b { display: inline; margin-right: var(--s-3); }
.slot.line span { display: inline; }
.card .slot { margin-top: var(--s-2); padding: var(--s-3); font-size: .875rem; }
.gallery-slots { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-3); }   /* the two gallery slots sit in their own row under the full photo rows (fix r3 CE 8b) */
.link-line { margin: var(--s-3) 0 0; }
.link-line a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; font-weight: 600; text-decoration: none; }
.link-line a:hover { color: var(--c-accent); }
.link-line .icon { width: 18px; height: 18px; }

/* ---- certificates page (v2 U3): three dashed slot cards P-19, no badge, no number/issuer/date until the files arrive ---- */
.certs { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-5); }
.certs .slot.tall { font-size: 1.0625rem; color: var(--c-ink); }

/* ---- link cards: the one hover lift (2 px, transform only) — product cards are links, feature cards are not ---- */
.card.product { transition: transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.card.product:hover, .card.product:focus-within { transform: translateY(-2px); border-color: var(--c-muted); }

/* ---- feature cards (about) ---- */
.why { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-5); }
.feature h3 { margin: 0 0 .25em; }
.feature p { margin: 0; color: var(--c-muted); }

/* ---- about: team block (his sentence + slot P-09, own section) and the figures band that serves only slot P-21 (v2 U3) ---- */
.team-block { display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
.team-block .lead { margin: 0; }
.figures .slot.wide { margin-top: var(--s-4); background: rgba(15, 16, 18, .72); }
.point-line { margin: var(--s-2) 0 0; color: var(--c-accent); font-weight: 600; letter-spacing: .02em; }   /* type 14: „divergent point" — his word, the only model with a point named */

/* ---- about teaser + gallery: his photos, untouched, downscaled ---- */
.photo { margin: 0; }
.photo img { width: 100%; max-width: min(660px, calc(var(--nw, 990) / 1.5 * 1px)); margin-inline: auto; }   /* cap = native / 1.5 DPR; no radius (SOP § 3) */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.gallery img { width: 100%; max-width: calc(var(--nw, 900) / 1.5 * 1px); }   /* cap = native / 1.5 DPR; no radius on his photos (SOP § 3) */

/* ---- contact page (v2 U3): two boxes of EQUAL height — rekvizitai table left, form right; grid items stretch by default ---- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: stretch; }
.contact-box { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-5); display: flex; flex-direction: column; min-width: 0; }
.contact-box h2 { margin-bottom: var(--s-4); }
.contact-box .kit-form { margin-top: 0; }
.contact-table { width: 100%; border-collapse: collapse; font-size: 1.125rem; margin: 0; }
.contact-table th, .contact-table td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.contact-table tr:last-child th, .contact-table tr:last-child td { border-bottom: 0; }
.contact-table th { color: var(--c-muted); font-weight: 500; width: 8.5em; padding-right: var(--s-4); white-space: nowrap; }
@media (max-width: 719px) {   /* narrow: label above value, never a number broken mid-string (375 first pass: „30586002 8") */
	.contact-table th, .contact-table td { display: block; width: auto; padding: 0; border: 0; white-space: normal; }
	.contact-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
	.contact-table tr:last-child { border-bottom: 0; }
	.contact-table th { font-size: .9375rem; margin-bottom: 2px; }
}
.contact-table th .icon { width: 20px; height: 20px; color: var(--c-accent); vertical-align: -4px; margin-right: var(--s-2); }
.contact-table td { font-weight: 500; overflow-wrap: anywhere; }
.contact-table a { text-decoration: none; }
.contact-table a:hover { color: var(--c-accent); }

/* ---- form ---- */
.contact-band .kit-form { margin-top: var(--s-4); }
.kit-form .row { display: grid; grid-template-columns: 1fr; gap: 0 var(--s-4); }
.kit-form .field { margin-bottom: var(--s-4); }
.kit-form label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: var(--s-1); color: var(--c-muted); }
.kit-form input, .kit-form select, .kit-form textarea { width: 100%; padding: 12px 13px; background: var(--c-surface); color: var(--c-ink); border: 1px solid var(--c-muted); border-radius: var(--radius); font: inherit; transition: border-color var(--dur-fast) var(--ease); }
.kit-form input:hover, .kit-form textarea:hover { border-color: var(--c-ink); }
.kit-form input:focus, .kit-form textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(225, 34, 33, .25); }
.kit-form .consent { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; }
.kit-form .consent input { width: 24px; height: 24px; margin: 0; padding: 0; accent-color: var(--c-accent); }
.kit-form .consent label { font-size: .9375rem; font-weight: 400; color: var(--c-ink); margin: 0; }
.hp-field { position: absolute; left: -9999px; }
.form-notice { padding: var(--s-4) var(--s-5); margin-bottom: var(--s-4); border-radius: var(--radius); border: 1px solid; }
.form-notice.ok { background: rgba(46, 125, 79, .18); border-color: var(--c-ok); color: var(--c-ink); }
.form-notice.err { background: rgba(225, 34, 33, .14); border-color: var(--c-err); color: var(--c-ink); }
.form-notice:focus { outline: none; }

/* ---- prose (privacy) ---- */
.prose h2 { margin-top: var(--s-6); }
.prose h2:first-child { margin-top: 0; }

/* ---- footer: three logical sections and a separate utility bar ---- */
.site-footer { border-top: 1px solid var(--c-line); background: var(--c-bg-2); color: var(--c-muted); padding-block: var(--s-7) var(--s-4); font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
.footer-grid > * { min-width: 0; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--c-ink); text-decoration: none; min-width: 44px; }
.site-footer a:hover { color: var(--c-accent); }
.footer-heading { font-family: var(--ff-body); font-size: .875rem; line-height: 1.4; font-weight: 600; color: var(--c-muted); margin: 0 0 var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--c-line); }
.footer-brand .site-brand { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: var(--s-4); }
.site-footer .footer-company-name { color: var(--c-ink); margin-bottom: var(--s-2); font-weight: 600; }
.footer-company-data { display: grid; gap: var(--s-1); margin: 0; font-size: .8125rem; }
.footer-company-data > div { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); }
.footer-company-data dt::after { content: ":"; }
.footer-company-data dd { margin: 0; color: var(--c-ink); }
.footer-navigation-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-4); }
.footer-navigation-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); min-height: 44px; padding-block: var(--s-2); }
.footer-navigation-list .footer-event-link { font-weight: 600; }
.footer-event-link span { color: var(--c-accent); }
.footer-contact address { font-style: normal; }
.footer-contact-link { display: flex; align-items: center; min-height: 44px; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.site-footer .footer-address { max-width: 30ch; margin-top: var(--s-3); line-height: 1.65; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); border-top: 1px solid var(--c-line); margin-top: var(--s-6); padding-top: var(--s-4); }
.site-footer .copyright { flex: 1 1 100%; font-size: .75rem; line-height: 1.6; }
.footer-utilities { display: flex; flex-wrap: wrap; gap: 0 var(--s-4); }
.footer-utilities a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8125rem; }
.footer-social-links { display: flex; gap: var(--s-2); list-style: none; margin: 0 0 0 auto; padding: 0; }
.footer-social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--c-line); }
.footer-social-links a:hover { border-color: var(--c-accent); }
.footer-social-links .icon { width: 20px; height: 20px; }
@media (min-width: 720px) {
 .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6) var(--s-7); }
 .footer-brand { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
 .footer-grid { grid-template-columns: 1.1fr 1fr 1.1fr; gap: var(--s-7); }
 .footer-brand { grid-column: auto; }
 .footer-navigation-list { grid-template-columns: minmax(0, 1fr); }
 .site-footer .copyright { flex: 1 1 auto; }
}

/* ================================================================ ≥ 720 px */
@media (min-width: 720px) {
	.cols-2 { grid-template-columns: 1fr 1fr; }
	.cards { grid-template-columns: repeat(2, 1fr); }
	.cards .wide { grid-template-columns: minmax(200px, 320px) 1fr; column-gap: var(--s-6); align-items: center; }
	.cards .wide .card-media { grid-row: 1 / 6; margin: 0; }
	.glass-row { grid-template-columns: repeat(2, 1fr); }
	.why { grid-template-columns: repeat(2, 1fr); }
	.certs { grid-template-columns: repeat(3, 1fr); }   /* v2 U3: three dashed P-19 slot cards (ISO 9001 · other · declarations) */
	.contact-grid { grid-template-columns: 1fr 1fr; }   /* two boxes, equal height: grid items stretch (align-items: stretch) */
	.team-block { grid-template-columns: 1.4fr 1fr; align-items: center; }
	.kit-form .row { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================ ≥ 1000 px */
@media (min-width: 1000px) {
	:root { --header-h: 72px; }
	.site-header .wrap { flex-wrap: nowrap; }
	.site-nav { order: 0; width: auto; }
	.site-nav ul { gap: var(--s-1) var(--s-5); }
	.site-brand img { height: 38px; }
	.header-tools { gap: var(--s-4); margin-left: 0; }
	.site-header .wrap { gap: var(--s-2) var(--s-5); padding-block: var(--s-3); }
	.cards { grid-template-columns: repeat(3, 1fr); }
	.why { grid-template-columns: repeat(4, 1fr); }
	.glass-row { grid-template-columns: repeat(4, 1fr); }
	.glass-row.three { grid-template-columns: repeat(3, 1fr); }
}


/* ================================================================ v2 structure (V2-U1 2026-09-24) */
/* ---- ® over the wordmark (R1-33): a text glyph positioned over his SVG's top-right; the SVG itself is untouched ---- */
.brand-mark { position: relative; display: inline-block; line-height: 0; }
.brand-r { position: absolute; top: -.35em; right: -.75em; font: 600 .55rem/1 var(--ff-body); color: var(--c-ink); letter-spacing: 0; }
.site-footer .brand-mark img { height: 30px; width: auto; }

/* ---- header: two-level menu (R1-21) — panel below 1000 px, bar + dropdown above ---- */
.nav-toggle { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; min-width: 44px; padding: 0 var(--s-3); background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
html:not(.js) .nav-toggle { display: none; }
html.js .site-nav { display: none; }
html.js .site-header.nav-open .site-nav { display: block; }
.site-nav ul { flex-direction: column; gap: 0; }
.site-nav li { position: relative; }
.site-nav a { min-height: 44px; width: 100%; }
.site-nav .nav-more { display: none; }
.site-nav .sub-menu { padding-left: var(--s-4); border-left: 2px solid var(--c-line); margin: 0 0 var(--s-2); }
.site-nav .sub-menu a { font-weight: 400; color: var(--c-muted); }
.site-nav .sub-menu a:hover, .site-nav .sub-menu a[aria-current] { color: var(--c-ink); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 1000px) {
	.nav-toggle { display: none !important; }
	html.js .site-nav { display: block; }
	.site-nav ul { flex-direction: row; flex-wrap: nowrap; gap: var(--s-1) var(--s-5); }   /* nowrap: with the wider fallback font (font-display: swap) eight items wrapped to two rows before the woff2 arrived, then unwrapped — a 44-px shift of the whole page, CLS 0.43 at 1440 (evidence cls-sources-1440.json). A fixed row height cannot shift. */
	.site-nav a { width: auto; }
	.site-nav > ul > li.menu-item-has-children { display: inline-flex; align-items: center; }
	.site-nav .nav-more { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -6px; background: transparent; color: var(--c-muted); border: 0; cursor: pointer; }
	.site-nav .nav-more .icon { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease); }
	.site-nav .nav-more[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.site-nav .nav-more:hover, .site-nav .nav-more:focus-visible { color: var(--c-ink); }
	.site-nav .sub-menu { position: absolute; left: 0; top: 100%; z-index: 20; min-width: 200px; margin: 0; padding: var(--s-2) 0; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-surface); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); display: none; flex-direction: column; }
	.site-nav .sub-menu a { padding: 0 var(--s-4); white-space: nowrap; width: 100%; }
	.site-nav .sub-menu a::after { display: none; }
	.site-nav li.menu-item-has-children:hover > .sub-menu, .site-nav li.menu-item-has-children.open > .sub-menu { display: flex; }
	html:not(.js) .site-nav li.menu-item-has-children:focus-within > .sub-menu { display: flex; }   /* keyboard without JS; with JS the button owns it (Escape must close even while the button keeps focus) */
}
@media (max-width: 479px) {
	.nav-toggle span { display: none; }   /* icon only on the narrowest row: logo · EN · Susisiekti · ≡ stay on ONE line */
	.nav-toggle { padding: 0; }
}

/* ---- product page: accent strip under the header (R1-14/29) + the v2 spec table ---- */
.model-band { background: var(--c-accent); color: var(--c-accent-ink); }
.model-band .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-1) var(--s-5); min-height: 48px; padding-block: var(--s-2); }
.model-band__model { font-family: var(--ff-display); font-stretch: 125%; font-weight: 700; font-size: 1.125rem; letter-spacing: .01em; }
.model-band__family { font-size: .9375rem; opacity: .92; }
.crumbs a + a::before { content: "›"; margin: 0 var(--s-2) 0 0; color: var(--c-muted); }
.spec-table th { width: 11em; }
.lengths-row { line-height: 1.7; }
.lengths-row .len { white-space: nowrap; }
.lengths-row .len b { font-weight: 600; }
.lengths-row .sep { color: var(--c-muted); }
.slot.cell { display: inline; padding: 0; border: 0; background: transparent; font-size: inherit; }
.slot.cell b { display: inline; margin-right: var(--s-2); }
.slot.cell span { display: inline; }

/* ---- hub + category + family shells (polish = U3) ---- */
.cat-card { text-decoration: none; color: inherit; gap: var(--s-3); transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
.cat-card:hover, .cat-card:focus-visible { border-color: var(--c-accent); transform: translateY(-2px); }
.cat-card h2, .cat-card h3 { color: var(--c-ink); }
.cat-card > .icon { width: 44px; height: 44px; color: var(--c-accent); margin-bottom: var(--s-1); }   /* the drawn glyph: fam-fine / medium / heavy / carton on the hub, fam-brad / cring / lcleat on the catalogue (CC-04: one per tile) */
.cat-grid { grid-template-columns: 1fr 1fr; }
.cat-models { margin: 0; color: var(--c-muted); }
.cat-more { color: var(--c-accent); font-weight: 600; display: inline-flex; align-items: center; gap: var(--s-2); }
.cat-more .icon { width: 18px; height: 18px; }
.empty-state { color: var(--c-muted); margin: 0 0 var(--s-4); }


/* ================================================================ v2 home (V2-U2 2026-09-24) */
/* ---- hero: his band photo (gamyba-7) as an ambient background — MIRRORED by CSS, the client's own instruction
   (transcript ≈ L127 „padaryti veidrodinę … iš dešinės pusės"; the file is untouched, transform only); the dark
   accent shade comes from the RIGHT (R1-04 § 6a). Ambient use like the photo bands (opacity + shade, object-fit
   cover): the F9-accepted SOP § 3 deviation until the P-18 original arrives. Visible on first paint, LCP element. ---- */
.hero-v2 { position: relative; overflow: hidden; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.hero-v2 .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; opacity: .62; transform: scaleX(-1); }
.hero-v2 .hero-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(130, 18, 18, .55) 0%, rgba(15, 16, 18, .18) 32%, rgba(15, 16, 18, .84) 62%, rgba(15, 16, 18, .96) 100%), linear-gradient(180deg, rgba(15, 16, 18, .35) 0%, rgba(15, 16, 18, 0) 40%, rgba(15, 16, 18, .55) 100%); }
.hero-v2 .hero-inner { position: relative; z-index: 1; display: flex; align-items: center; min-height: 560px; padding-block: var(--s-7) var(--s-6); }
.hero-v2 .hero-copy { max-width: 620px; }
.hero-v2 h1 { max-width: 16ch; margin-bottom: .4em; }
.hero-v2 .lead { color: var(--c-ink); max-width: 44ch; margin-bottom: var(--s-5); }
.hero-v2 .search { margin: var(--s-5) 0 0; max-width: 480px; }
.hero-v2 .search-row input { background: rgba(15, 16, 18, .8); }
.hero-v2 .slot.corner { position: relative; z-index: 1; margin: 0 var(--gutter) var(--s-4); padding: 6px 10px; font-size: .75rem; background: rgba(15, 16, 18, .72); width: max-content; max-width: calc(100% - 2 * var(--gutter)); }
.hero-v2 .slot.corner b { font-size: .6875rem; }
@media (max-width: 719px) {
	.hero-v2 .hero-photo { opacity: .38; object-position: 70% 50%; }
	.hero-v2 .hero-shade { background: linear-gradient(180deg, rgba(15, 16, 18, .55) 0%, rgba(15, 16, 18, .45) 60%, rgba(15, 16, 18, .95) 100%), linear-gradient(270deg, rgba(130, 18, 18, .45) 0%, rgba(15, 16, 18, 0) 55%); }
	.hero-v2 .hero-inner { min-height: 0; padding-block: var(--s-7) var(--s-5); }
}
@media (min-width: 1000px) {
	.hero-v2 .hero-inner { min-height: min(78vh, 700px); padding-block: var(--s-8) var(--s-7); }   /* the hero + the strip fill the first 1440×900 viewport, so the pinned USP section starts below it (DESIGN.md § 2a) */
	.hero-v2 .slot.corner { position: absolute; right: var(--gutter); bottom: var(--s-3); margin: 0; }
}

/* ---- the 8-family icon strip (R1-02/22) — the ONE signature: the strokes draw themselves once after load
   (signature.js adds .sig-go, style below; .sig-done pins the end state). Each tile is a link (hover lift allowed).
   No-JS (no html.js) and reduced motion never hide a stroke. ---- */
.fam-block { padding-block: var(--s-6) var(--s-7); }
.fam-block h2 { margin-bottom: var(--s-5); max-width: 32ch; }
.fam-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.fam { display: grid; justify-items: center; align-content: start; gap: var(--s-2); padding: var(--s-4) var(--s-1); border: 1px solid var(--c-line); border-radius: var(--radius); text-decoration: none; color: var(--c-ink); text-align: center; font-size: .875rem; font-weight: 500; line-height: 1.2; transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease); }
.fam:hover, .fam:focus-visible { border-color: var(--c-accent); transform: translateY(-2px); }
.fam__icon { width: 40px; height: 40px; color: var(--c-accent); }
.js [data-signature]:not(.sig-done) .fam__icon { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js [data-signature].sig-go .fam__icon { animation: fam-draw 700ms var(--ease) forwards; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes fam-draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .js [data-signature] .fam__icon { stroke-dashoffset: 0; animation: none; } }
@media (min-width: 720px) {
	.fam-strip { grid-template-columns: repeat(8, 1fr); gap: var(--s-3); }
	.fam { font-size: .9375rem; padding: var(--s-5) var(--s-2); }
	.fam__icon { width: 48px; height: 48px; }
}

/* ---- „Kodėl Skobex" panels v2 (R1-06/23): denser — number + title + 2–3 sentences at body size + a drawn glyph
   filling the panel's corner (stroke-drawn on view: the track carries data-draw, --i on each panel staggers). ---- */
.usp-v2 { flex: 0 0 min(86vw, 560px); min-height: 400px; padding: var(--s-6); display: grid; grid-template-rows: auto 1fr; justify-content: stretch; gap: var(--s-4); }
.usp-v2 .usp__n { font-size: clamp(2.75rem, 2.2rem + 2.5vw, 4.25rem); }
.usp-v2 .usp__body { max-width: 36ch; }
.usp-v2 h3 { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.375rem); margin: 0 0 var(--s-3); }   /* 20 → 22 px: SOP § 5 card-title band at both widths */
.usp-v2 p { margin: 0 0 var(--s-3); font-size: var(--fs-base); line-height: 1.5; color: var(--c-ink); max-width: none; }
.usp-v2 p:last-child { margin-bottom: 0; }
.glass .usp__art { position: absolute; right: -6%; bottom: -8%; width: 58%; max-width: 300px; height: auto; aspect-ratio: 1; padding: 0; background: none; border-radius: 0; color: var(--c-accent); opacity: .3; stroke-width: .8; pointer-events: none; }
.hscroll--pin .usp-v2 { flex-basis: 560px; min-height: 420px; }

/* ---- „Kam gaminame" 2 × 2 (R1-07/24): four big blocks, drawn icon + title + two sentences ---- */
.segments { display: grid; grid-template-columns: 1fr; gap: var(--s-4); margin-top: var(--s-5); }
.segment { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-6); display: grid; align-content: start; gap: var(--s-3); min-height: 240px; }
.segment__icon { width: 56px; height: 56px; color: var(--c-accent); stroke-width: 1.3; margin-bottom: var(--s-2); }
.segment h3 { margin: 0; font-size: clamp(1.25rem, 1.05rem + .7vw, 1.375rem); }
.segment p { margin: 0; color: var(--c-ink); }
.segment p + p { color: var(--c-muted); }
@media (min-width: 720px) {
	.segments { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
	.segment { padding: var(--s-7); min-height: 300px; }
}

/* ---- the 8 families as image tiles + the 9th (slot P-22) (R1-05/22): his product photos on a white plate,
   object-fit contain (no crop), capped at native / 1.5 DPR; families without a photo = the family glyph + a P-18 line ---- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-5); }
.tile { display: grid; align-content: start; gap: var(--s-2); background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: var(--s-3); text-decoration: none; color: var(--c-ink); transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease); }
a.tile:hover, a.tile:focus-visible { border-color: var(--c-accent); transform: translateY(-2px); }
.tile h3 { margin: 0; font-size: var(--fs-h3); padding-block: 6px; }
.tile-media { display: flex; align-items: center; justify-content: center; height: 150px; background: #fff; border-radius: var(--radius); padding: var(--s-2); }
.tile-media img { max-height: 134px; max-width: min(100%, calc(var(--nw, 600) / 1.5 * 1px)); width: auto; height: auto; object-fit: contain; }
.tile-media--icon { background: var(--c-bg); color: var(--c-accent); }
.tile__icon { width: 72px; height: 72px; stroke-width: 1.1; }
.tile-slot { margin: 0; padding: 6px 10px; font-size: .75rem; }
.tile-slot b { font-size: .6875rem; }
.tile--slot { padding: 0; border: 0; background: none; }
.tile--slot .slot.tall { height: 100%; }
@media (min-width: 720px) {
	.tiles { grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
	.tile-media { height: 200px; }
	.tile-media img { max-height: 180px; }
}

/* ---- about teaser pushed down: the production photo small; CTA band = glass over a photo band ---- */
.photo-small img { max-width: min(420px, calc(var(--nw, 900) / 1.5 * 1px)); }
@media (min-width: 720px) { .about-cols { grid-template-columns: minmax(0, 420px) 1fr; gap: var(--s-7); } }
.cta-band .glass { padding: var(--s-7) var(--s-6); }
.cta-band .glass p { max-width: 40ch; margin-inline: auto; }

/* ---- 2.0.1 (V2-U4 G1): tap targets ≥ 44 px, measured on skobexv2 at 375×667 — header logo link 98×20, footer logo
 * link 147×36, header/inline `.btn.small` 40 high, footer EN 19 wide, breadcrumb links 43 high, contact-table tel/mailto 24 high. Box only; the logo image,
 * its size and the text are unchanged (SOP § 3). ---- */
.site-brand { min-height: 44px; }
.btn.small { min-height: 44px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
.contact-table a { display: inline-flex; align-items: center; min-height: 44px; }   /* tel: / mailto: in the rekvizitai table were 138×24 */

/* ================================================================ 2.0.2 — v2 fix r1 (client-eyes 2026-09-24, PM brief V2-FIX-R1) */
/* CE 5 — the 8-family icon strip is the FIRST block under the header, compact: strip + hero H1 inside the first
   viewport at 375×667 and 1440×900. The signature draw (.sig-*) is unchanged. */
.fam-top { padding-block: var(--s-4); border-bottom: 1px solid var(--c-line); }
.fam-top .fam-label { margin: 0 0 var(--s-3); font-family: var(--ff-display); font-stretch: 125%; font-weight: var(--fw-display); font-size: 1.125rem; letter-spacing: var(--ls-display); line-height: 1.2; color: var(--c-ink); }   /* plain text, not a heading (H1 first) */
.fam-top .fam-strip { gap: var(--s-2); }
.fam-top .fam { padding: var(--s-3) var(--s-1); gap: var(--s-1); font-size: .8125rem; }
.fam-top .fam__icon { width: 32px; height: 32px; }
@media (min-width: 720px) {
	.fam-top { padding-block: var(--s-5); }
	.fam-top .fam-strip { gap: var(--s-3); }
	.fam-top .fam { padding: var(--s-4) var(--s-2); font-size: .9375rem; gap: var(--s-2); }
	.fam-top .fam__icon { width: 44px; height: 44px; }
}
/* CE 8 — hero = SPLIT: copy left, his photo right in a box ≤ 600 CSS px (gamyba-7.jpg is 900 px: at dpr 1.5 that is
   1.0 device px per image px, never an upscale), aspect 3:2 = the file's own ratio (object-fit cover crops nothing),
   mirrored by transform only, the red shade from the RIGHT over it; no filter, no radius (SOP § 3). Shorter than 2.0.1. */
.hero-split .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: center; min-height: 0; padding-block: var(--s-6); }
.hero-split .hero-figure { margin: 0; min-width: 0; }
.hero-split .hero-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-surface); }
.hero-split .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; opacity: 1; transform: scaleX(-1); }
.hero-split .hero-shade { position: absolute; inset: 0; background: linear-gradient(270deg, rgba(130, 18, 18, .55) 0%, rgba(130, 18, 18, .18) 35%, rgba(130, 18, 18, 0) 60%); pointer-events: none; }
.hero-split .slot.corner { position: static; margin: var(--s-2) 0 0; width: auto; max-width: none; background: transparent; padding: 0; border: 0; }
@media (min-width: 1000px) {
	.hero-split .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(0, min(600px, 48%)); gap: var(--s-7); min-height: 0; padding-block: var(--s-7); }
	.hero-split .slot.corner { position: static; margin: var(--s-2) 0 0; }
}
/* CE 1 / CE 14a — eight tiles, no ninth: 4 × 2 from 720 px, 2 × 4 below; a family without a photo = its drawn glyph large */
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile-media--icon .tile__icon { width: 96px; height: 96px; stroke-width: 1; }
/* CE 6 — contacts table: label and value on ONE baseline at ≥ 720 px (the 44-px inline-flex tap box on tel:/mailto: was
   centring the value 12 px below a top-aligned label); no row icons (only 4 of 6 had a real glyph); label above value < 720. */
.contact-table th, .contact-table td { vertical-align: baseline; }
.contact-table th { width: 11.5em; }
/* CE 9 — „Galimi ilgiai" = a small lengths table: a <dl> grid, one cell per length, mm over inch, wrapping inside the row */
.len-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 4px; margin: 2px 0 0; }
.len-grid .len { border: 1px solid var(--c-line); padding: 6px 8px; text-align: center; line-height: 1.3; }
.len-grid dt { font-weight: 600; white-space: nowrap; }
.len-grid dd { margin: 0; color: var(--c-muted); font-size: .875rem; white-space: nowrap; }
/* CE 14d — a slot id never breaks („P-" / „18") */
.slot b { white-space: nowrap; }
/* CE 14b — /sertifikatai/: the ISO sentence (lead) + one line + ONE slot line P-19 */
.certs-block .slot.line { margin-top: var(--s-3); }

/* Supplied original gray/red logo, unchanged; plain white backing preserves contrast. */
.brand-mark { background: #fff; padding: 4px 6px; }
.brand-mark img { display: block; object-fit: contain; }

/* Ambient photos fill their section using the cover rules above. Native-size
   limits apply to foreground artwork, not these darkened background layers. */
.certs-block img { width: 100%; max-width: calc(var(--nw, 641) / 1.5 * 1px); height: auto; }

/* Native bilingual knowledge pages: readable articles and existing industrial card language. */
.knowledge-index, .knowledge-related { padding-block: var(--s-6); }
.knowledge-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-5); align-items: stretch; }
.knowledge-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; }
.knowledge-card-image { display: grid; place-items: center; min-height: 160px; background: #fff; padding: var(--s-3); }
.knowledge-card-image img { width: auto; max-width: 100%; max-height: 220px; height: auto; object-fit: contain; }
.knowledge-card-body { display: flex; flex: 1; flex-direction: column; gap: var(--s-3); padding: var(--s-5); }
.knowledge-card h2, .knowledge-card h3 { font-size: 1.35rem; line-height: 1.25; overflow-wrap: anywhere; }
.knowledge-card p { font-size: 1rem; line-height: 1.65; }
.knowledge-card-body > :last-child { margin-top: auto; }
.knowledge-article { padding-bottom: var(--s-7); }
.knowledge-body, .knowledge-figure, .knowledge-sources { max-width: 72ch; margin-inline: auto; }
.knowledge-body { font-size: 1.0625rem; line-height: 1.8; overflow-wrap: break-word; }
.knowledge-body h2 { font-size: clamp(1.5rem, 2.5vw, 2.15rem); line-height: 1.25; margin-top: var(--s-6); margin-bottom: var(--s-4); }
.knowledge-body h3 { font-size: 1.3rem; line-height: 1.35; margin-top: var(--s-5); }
.knowledge-body p, .knowledge-body ul, .knowledge-body ol { margin-bottom: var(--s-4); }
.knowledge-body ul, .knowledge-body ol { padding-left: 1.4em; }
.knowledge-body li + li { margin-top: .5em; }
.knowledge-body table { display: block; max-width: 100%; overflow-x: auto; font-size: .95rem; }
.knowledge-figure { margin-block: var(--s-5); }
.knowledge-figure img { width: auto; max-width: min(100%, calc(var(--nw, 1536) / 1.5 * 1px)); height: auto; margin-inline: auto; }
.knowledge-caption { margin-top: var(--s-3); color: var(--c-muted); font-size: .875rem; line-height: 1.6; }
.knowledge-sources { margin-top: var(--s-6); font-size: .9rem; line-height: 1.65; overflow-wrap: anywhere; }
.knowledge-sources ul { padding-left: 1.2em; }
@media (min-width: 720px) { .knowledge-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .knowledge-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.knowledge-card-image img { max-width: min(100%, calc(var(--nw, 1536) / 1.5 * 1px)); }
.knowledge-products { margin-top: var(--s-6); }
.knowledge-products ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5em 1.5em; }
@media (min-width: 720px) { .knowledge-products ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
