/* beta.35: self-hosted fonts (latin subset, variable) — replaces the
   render-blocking Google Fonts request. Weights 300-800 in one file. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/BricolageGrotesque-var.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fragment Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/FragmentMono-normal-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fragment Mono';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/FragmentMono-italic-400.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* beta.20: author display must not override the hidden attribute */
[hidden] { display: none !important; }


:root {
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Fragment Mono', 'SF Mono', Consolas, monospace;
  --bg: #f7f4ef; --surface: #ffffff; --ink: #14181f; --ink-dim: #5c6470;
  --border: rgba(20,24,31,.1); --border-bright: rgba(20,24,31,.22);
  --gold: #b0812b; --gold-dim: rgba(176,129,43,.12); --teal: #267997;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-display); font-size: 16px; line-height: 1.5; }
a { color: inherit; }
img { max-width: 100%; }


/* ── beta.2 additions (documented in VERSION.txt; no rule above is altered) ── */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.skip-link { position: absolute; left: 16px; top: -52px; z-index: 200; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 10px 16px; border-radius: 3px; text-decoration: none; transition: top .2s ease; }
.skip-link:focus { top: 12px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: inline; }
.crumbs li { display: inline; }
.err h1 { font-size: 1em; font-weight: 700; letter-spacing: 0; line-height: 1.5; margin: 18px 0 0; color: var(--ink-dim); max-width: 46ch; }
.err h1 + p { margin: 0 0 26px; }
.post-card__title a { text-decoration: none; color: inherit; }
.tagcloud a { text-decoration: none; }
.lx-lang__menu .lx-lang__item { color: var(--ink) !important; padding: 7px 10px; font-size: 12px; font-family: var(--font-display), 'Noto Sans', 'Noto Sans SC', 'Noto Sans Arabic', 'Segoe UI', sans-serif; border-radius: 4px; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lx-lang__menu .lx-lang__item i { font-style: normal; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; color: rgba(20,24,31,.45); }
/* ════════════════════════════════════════════════════════════════
   LUXE x CLASSIC production header v1.0.0
   L1 Signature + L3 grafts (L2 ink stage removed in 1.0.0-beta.3). Namespace: lx-
   ════════════════════════════════════════════════════════════════ */
.lx-chrome { --lx-bg: var(--bg); --lx-fg: var(--ink); --lx-hair: var(--border); display: contents; }
.lx-chrome.dark { --lx-bg: var(--ink); --lx-fg: var(--bg); --lx-hair: rgba(247,244,239,.16); }

/* topbar (L1): contact / socials / translation */
.lx-topbar { position: relative; z-index: 60; background: var(--ink); color: rgba(247,244,239,.72); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; transition: margin-top .38s cubic-bezier(.2,.7,.2,1), opacity .3s; }
.lx-wrap { max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.lx-topbar .lx-wrap { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; gap: 16px; }
.lx-tg { display: flex; align-items: center; gap: 13px; }
.lx-topbar a { color: rgba(247,244,239,.72); text-decoration: none; transition: color .2s; }
.lx-topbar > .lx-wrap a:hover { color: var(--gold); }
.lx-sep { color: rgba(247,244,239,.25); }
.lx-soc { display: inline-flex; width: 21px; height: 21px; align-items: center; justify-content: center; border-radius: 3px; color: rgba(247,244,239,.72); background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 10px; gap: 4px; transition: transform .28s cubic-bezier(.2,.7,.2,1), background .25s, color .2s; }
.lx-soc svg { width: 12px; height: 12px; fill: currentColor; }
.lx-soc:hover { transform: translateY(-2px); background: rgba(255,255,255,.09); color: var(--gold); }

/* translation dropdown (L1) */
.lx-lang { position: relative; display: inline-flex; }
.lx-lang__btn .lx-caret { width: 8px; height: 8px; }
.lx-lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 148px; background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(20,24,31,.3); padding: 6px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s ease, transform .3s cubic-bezier(.2,.7,.2,1), visibility .25s; }
.lx-lang:hover .lx-lang__menu, .lx-lang.on .lx-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lx-lang__menu a { color: var(--ink) !important; padding: 7px 10px; font-size: 12px; font-family: var(--font-display), 'Noto Sans', 'Noto Sans SC', 'Noto Sans Arabic', 'Segoe UI', sans-serif; border-radius: 4px; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.lx-lang__menu a i { font-style: normal; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .14em; color: rgba(20,24,31,.45); }
.lx-lang__menu a:hover i, .lx-lang__menu .lx-lang__item:hover i { color: rgba(255,255,255,.85); }
.lx-lang__menu .lx-lang__item:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.lx-lang__menu a:hover, .lx-lang__menu .lx-lang__item:hover { background: var(--teal); color: #fff !important; }
.lx-lang__menu button.lx-lang__item { background: none; border: 0; width: 100%; cursor: pointer; text-align: left; }
.lx-lang__menu .lx-lang__item[aria-current="true"] { background: rgba(38,121,151,.09); }

/* header + nav (L1 metrics) */
.lx-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--border); transition: background .35s ease, box-shadow .35s ease, border-color .35s ease; }
.lx-nav { display: flex; align-items: center; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 14px 28px; transition: padding .32s cubic-bezier(.2,.7,.2,1); }
.lx-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; margin-right: 8px; }
.lx-mark { width: 24px; height: 24px; border-radius: 4px; background: linear-gradient(135deg, var(--ink) 60%, #222831); position: relative; flex: none; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.lx-mark::after { content: ""; position: absolute; top: 6px; right: 6px; bottom: 6px; left: 10px; border-radius: 2px; background: var(--gold); transition: top .35s cubic-bezier(.2,.7,.2,1), right .35s cubic-bezier(.2,.7,.2,1), bottom .35s cubic-bezier(.2,.7,.2,1), left .35s cubic-bezier(.2,.7,.2,1); }
.lx-brand:hover .lx-mark { transform: rotate(-6deg) scale(1.06); }
.lx-brand:hover .lx-mark::after { top: 5px; right: 5px; bottom: 5px; left: 11px; }
.lx-brand__lockup b { font-family: var(--font-display); font-size: 16px; font-weight: 800; letter-spacing: -.01em; line-height: 1; display: block; }
.lx-brand__lockup small { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-dim, rgba(20,24,31,.55)); margin-top: 4px; }

/* links: mono caps + Classic underline + L3 tracking graft */
.lx-links { display: flex; list-style: none; gap: 2px; flex: 1; justify-content: center; align-items: center; padding-left: 36px; padding-right: 20px; min-width: 0; }
.lx-link { position: relative; background: none; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; padding: 11px 12px; transition: color .3s; }
/* tracking-hover graft removed: the layout shift caused hover vibration */

.lx-link.is-active { color: var(--teal); }
.uline::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .34s cubic-bezier(.2,.7,.2,1); }
.uline:hover::after, .uline.is-active::after, .lx-dd.on > .uline::after { transform: scaleX(1); }
.lx-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .3s; flex: none; margin-left: 7px; }
.lx-dd { position: relative; }
.lx-dd:hover .lx-caret, .lx-dd.on .lx-caret { transform: rotate(225deg) translateY(-1px); }

/* mega: anchored to the sticky header, viewport-clamped */
.lx-mega-wrap { position: static; }
.lx-mega { position: absolute; left: 50%; top: 100%; width: min(840px, calc(100vw - 56px)); background: #fff; border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 34px 70px -20px rgba(20,24,31,.3); padding: 26px 28px 20px; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(10px); transition: opacity .28s ease, transform .32s cubic-bezier(.2,.7,.2,1), visibility .28s; }
.lx-dd:hover .lx-mega, .lx-dd.on .lx-mega, .lx-dd:focus-within .lx-mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.lx-swatch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lx-sw-card { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.lx-dd:hover .lx-sw-card, .lx-dd.on .lx-sw-card { animation: lx-rise .45s both cubic-bezier(.2,.7,.2,1); }
.lx-sw-card:nth-child(2) { animation-delay: .05s; } .lx-sw-card:nth-child(3) { animation-delay: .1s; }
.lx-sw-card:nth-child(4) { animation-delay: .15s; } .lx-sw-card:nth-child(5) { animation-delay: .2s; }
.lx-sw-card:nth-child(6) { animation-delay: .25s; }
.lx-sw-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -14px rgba(20,24,31,.28); border-color: transparent; }
.lx-sw { display: block; height: 54px; }
.lx-swt { display: block; padding: 10px 12px 11px; }
.lx-swt b { display: block; font-family: var(--font-display); font-size: 13px; font-weight: 600; }
.lx-swt i { font-style: normal; font-family: var(--font-mono); font-size: 9.5px; color: rgba(20,24,31,.5); }
.lx-sw-1 { background: linear-gradient(120deg, #b9e0ea, #267997 70%); }
.lx-sw-2 { background: linear-gradient(120deg, #f3d9d3, #a63d2f 75%); }
.lx-sw-3 { background: linear-gradient(120deg, #efe4c8, #b0812b 60%, #ffcc29); }
.lx-sw-4 { background: radial-gradient(circle at 30% 40%, #fff 0 2px, #e8e2d8 3px, #fff 4px) 0 0/14px 14px, linear-gradient(120deg, #d9cde0, #8d7ba4); }
.lx-sw-5 { background: linear-gradient(120deg, #24313d 20%, #4b5a68 55%, #74889a 80%, #b9c6d1); }
.lx-sw-6 { background: repeating-linear-gradient(115deg, #24313d 0 12px, #4b5a68 12px 20px, #24313d 20px 26px); }
.lx-mega__foot { margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10.5px; color: rgba(20,24,31,.68); }
.lx-mega__foot a { color: var(--teal); text-decoration: none; }
@keyframes lx-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* hover bridges: keep the pointer connected across the gap between
   trigger and panel — kills the open/close flicker ("shivering") */
.lx-mega::before { content: ""; position: absolute; top: -20px; left: 0; right: 0; height: 20px; }
.lx-slim::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.lx-lang__menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }

/* slim dropdown with family dots */
.lx-slim { position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; max-width: calc(100vw - 60px); background: #fff; border: 1px solid var(--border); border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(20,24,31,.28); padding: 8px; display: flex; flex-direction: column; gap: 1px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .28s ease, transform .32s cubic-bezier(.2,.7,.2,1), visibility .28s; }
.lx-dd:hover .lx-slim, .lx-dd.on .lx-slim, .lx-dd:focus-within .lx-slim { opacity: 1; visibility: visible; transform: translateY(0); }
.lx-slim a { padding: 8px 10px; border-radius: 4px; font-family: var(--font-display); font-size: 12.5px; color: rgba(20,24,31,.8); text-decoration: none; display: flex; align-items: center; gap: 9px; transition: background .2s, color .2s, padding-left .25s; }
.lx-slim a:hover { background: var(--teal); color: #fff; padding-left: 13px; }
.lx-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.lx-dot--t { background: linear-gradient(120deg, #267997, #b9e0ea); }
.lx-dot--r { background: linear-gradient(120deg, #a63d2f, #f3d9d3); }
.lx-dot--g { background: linear-gradient(120deg, #b0812b, #ffcc29); }
.lx-dot--p { background: radial-gradient(circle at 30% 40%, #fff 0 1.5px, #d9cde0 2px, #fff 3px), #8d7ba4; }
.lx-dot--k { background: linear-gradient(120deg, #24313d, #74889a); }
.lx-dot--x { background: repeating-linear-gradient(115deg, #24313d 0 4px, #4b5a68 4px 7px); }

/* icon-circle search (expands into a pill) */
.lx-osearch { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 50%; cursor: pointer; overflow: hidden; flex: none; background: none; padding: 0; color: var(--ink); transition: width .38s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s, background .3s, border-radius .3s, color .35s; }
.lx-osearch .ico { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; flex: none; transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.lx-osearch:hover .ico { transform: scale(1.12) rotate(-8deg); }
.lx-osearch input { border: 0; background: none; outline: none; font-family: var(--font-mono); font-size: 11px; width: 100%; display: none; color: var(--ink); }
.lx-osearch.on { width: 232px; border-radius: 999px; justify-content: flex-start; padding: 0 18px; gap: 9px; border-color: #b0812b; box-shadow: 0 0 0 3px rgba(176,129,43,.15); background: #fff; }
.lx-osearch.on input { display: block; }
/* beta.2 (step 1): valid HTML — the pill is a div; the icon sits on a real
   <button>, the input lives in a <form role="search"> that GETs search.html */
.lx-osearch__btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; color: inherit; flex: none; }
.lx-osearch__form { display: contents; }

/* theme toggle (L3 graft) */
.lx-theme { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: none; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none; transition: background .25s, transform .3s cubic-bezier(.2,.7,.2,1), color .35s, border-color .35s; }
.lx-theme:hover { background: rgba(38,121,151,.12); transform: rotate(20deg) scale(1.06); }
.lx-theme svg { width: 15px; height: 15px; }
.lx-theme__sun { display: none; }
.lx-chrome.dark .lx-theme__moon { display: none; }
.lx-chrome.dark .lx-theme__sun { display: block; }

/* RFQ (L1): gold with sheen sweep */
.lx-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .05em; padding: 12px 18px; border-radius: 3px; text-decoration: none; cursor: pointer; border: 0; background: var(--gold); color: var(--ink); position: relative; overflow: hidden; flex: none; }
.lx-btn::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-130%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lx-btn:hover::after { transform: translateX(130%); }

.lx-chrome.dark .lx-header { background: var(--ink); box-shadow: 0 16px 40px -18px rgba(20,24,31,.6); border-bottom-color: rgba(247,244,239,.14); }
.lx-chrome.dark .lx-nav { padding-top: 12px; padding-bottom: 12px; }
.lx-chrome.dark .lx-link,
.lx-chrome.dark .lx-brand,
.lx-chrome.dark .lx-osearch,
.lx-chrome.dark .lx-theme { color: var(--bg); }
.lx-chrome.dark .lx-brand__lockup small { color: rgba(247,244,239,.55); }
.lx-chrome.dark .lx-link.is-active { color: var(--gold); }
.lx-chrome.dark .lx-osearch { border-color: rgba(247,244,239,.3); }
.lx-chrome.dark .lx-osearch.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,204,41,.18); background: #222831; }
.lx-chrome.dark .lx-osearch input { color: var(--bg); }
.lx-chrome.dark .lx-theme { border-color: rgba(247,244,239,.3); }
.lx-chrome.dark .lx-theme:hover { background: rgba(255,255,255,.09); }

@media (max-width: 760px) {
  .lx-topbar .lx-tg:first-child { display: none; }
  .lx-topbar .lx-wrap { justify-content: flex-end; }
}
.lx-osearch.on { max-width: calc(100vw - 96px); }

/* M3 segment divider: catalogue | company */
.lx-seg { width: 1px; height: 22px; background: var(--border); margin: 0 6px; flex: none; list-style: none; }
.lx-chrome.dark .lx-seg { background: rgba(247,244,239,.18); }
.lx-panel__div { list-style: none; padding: 10px 4px 2px; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); opacity: .85; }

/* mobile burger + panel (approved pattern) */
.lx-burger { display: none; width: 42px; height: 38px; border: 1px solid var(--border); background: #fff; border-radius: 4px; flex-direction: column; gap: 4px; align-items: center; justify-content: center; cursor: pointer; }
.lx-burger i { display: block; width: 16px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.lx-chrome.open .lx-burger i:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.lx-chrome.open .lx-burger i:nth-child(2) { opacity: 0; }
.lx-chrome.open .lx-burger i:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }
.lx-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s cubic-bezier(.2,.7,.2,1); border-top: 0 solid var(--border); }
.lx-chrome.open .lx-panel { grid-template-rows: 1fr; border-top-width: 1px; }
.lx-panel__inner { overflow: hidden; }
.lx-panel .lx-m-search { display: flex; gap: 8px; align-items: center; margin: 14px 28px 0; border: 1px solid var(--border); border-radius: 999px; padding: 10px 16px; background: #fff; }
.lx-panel .lx-m-search .ico { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.lx-panel .lx-m-search input { border: 0; outline: none; background: none; font-family: var(--font-mono); font-size: 11px; width: 100%; }
.lx-panel ul { list-style: none; padding: 8px 28px 6px; }
.lx-panel ul a { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--border); text-decoration: none; font-family: var(--font-display); font-size: 14.5px; font-weight: 500; color: var(--ink); }
.lx-panel ul a span { font-family: var(--font-mono); font-size: 9.5px; color: rgba(20,24,31,.4); }
.lx-panel .lx-panel__cta { margin: 14px 28px 16px; width: calc(100% - 56px); justify-content: center; }
@media (max-width: 1024px) {
  .lx-links, .lx-osearch, .lx-theme { display: none; }
  .lx-burger { display: inline-flex; }
  .lx-nav { gap: 14px; }
  .lx-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-chrome *, .lx-chrome *::before, .lx-chrome *::after { transition: none !important; animation: none !important; }
}

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .05em; padding: 12px 22px; border-radius: 2px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; border: 1px solid transparent; text-decoration: none; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(20,24,31,.18); }
.btn--ghost { border-color: var(--border-bright); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.lx-link.is-active { color: var(--gold); }

/* ===== page scaffolding ===== */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.crumbs { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); padding: 26px 0 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { margin: 0 8px; color: var(--border-bright); }
.crumbs strong { color: var(--ink); font-weight: 600; }
.page-head { padding: 26px 0 34px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.eyebrow { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); display: flex; align-items: center; gap: 10px; }
h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; margin: 14px 0 0; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-dim); max-width: 56ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; padding: 5px 10px; border-radius: 2px; background: var(--gold-dim); color: var(--gold); text-decoration: none; }
.chip--teal { background: rgba(38,121,151,.1); color: var(--teal); }
.chip:hover { filter: brightness(.92); }
.head-meta { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); display: grid; gap: 12px; justify-items: start; padding-bottom: 8px; }

/* series cards (category page) */
.sgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-bottom: 34px; }
.scard { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 22px; display: flex; flex-direction: column; gap: 12px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; text-decoration: none; }
.scard:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,24,31,.07); }
.scard__no { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--gold); }
.scard__title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.scard__prods { font-family: var(--font-mono); font-size: 11px; color: var(--ink-dim); line-height: 1.75; }
.scard__go { font-family: var(--font-mono); font-size: 11px; color: var(--gold); margin-top: auto; }
.scard.is-template { border-color: var(--gold); border-style: dashed; }

/* product rows (subcategory page) */
.prods { border-top: 1px solid var(--border-bright); margin-bottom: 34px; }
.prod { display: grid; grid-template-columns: 52px 1.5fr 1fr auto; gap: 20px; align-items: center; padding: 20px 6px; border-bottom: 1px solid var(--border); text-decoration: none; transition: background .15s ease; }
.prod:hover { background: rgba(255,255,255,.75); }
.prod__no { font-family: var(--font-mono); font-size: 10px; color: var(--gold); }
.prod__name { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.prod__name small { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; color: var(--ink-dim); margin-top: 4px; letter-spacing: 0; }
.prod__desc { font-size: 14px; color: var(--ink-dim); }
.prod__actions { display: flex; gap: 8px; }
.mini-btn { font-family: var(--font-mono); font-size: 10.5px; padding: 8px 13px; border: 1px solid var(--border-bright); border-radius: 2px; text-decoration: none; color: var(--ink); background: var(--surface); white-space: nowrap; }
.mini-btn:hover { border-color: var(--gold); color: var(--gold); }
.mini-btn--solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.mini-btn--solid:hover { color: #fff; filter: brightness(1.2); }

/* spec card (product page) */
.pgrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; padding-bottom: 40px; align-items: start; }
.spec-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 26px; position: sticky; top: 96px; }
.spec-card h2 { font-size: 15px; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-dim); font-weight: 400; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th { text-align: left; font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); font-weight: 400; padding: 11px 0; vertical-align: top; width: 46%; }
.spec-table td { font-size: 13.5px; padding: 11px 0; border-bottom: 1px solid var(--border); }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-note { font-family: var(--font-mono); font-size: 10px; color: var(--gold); margin-top: 14px; }
.body-copy p { margin-bottom: 18px; color: var(--ink-dim); font-size: 16.5px; max-width: 62ch; }
.body-copy h2 { font-size: 15px; font-family: var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); font-weight: 400; margin: 34px 0 8px; }
.swatch { width: 100%; height: 190px; border-radius: 4px; border: 1px solid var(--border); background: linear-gradient(150deg,#0f3d40,#17565a 55%,#3a888b); margin-bottom: 28px; }

/* related row */
.rel { padding-bottom: 44px; }
.rel__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.rel-card { border: 1px solid var(--border); background: var(--surface); border-radius: 4px; padding: 18px; text-decoration: none; }
.rel-card:hover { border-color: var(--gold); }
.rel-card .n { font-family: var(--font-mono); font-size: 10px; color: var(--gold); }
.rel-card .t { font-weight: 600; font-size: 17px; margin-top: 6px; }

/* CTA band */
.band { background: var(--ink); color: var(--bg); margin-top: 20px; }
.band .wrap { padding: 56px 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.015em; max-width: 18ch; line-height: 1.1; }
.band p { font-family: var(--font-mono); font-size: 12px; color: rgba(247,244,239,.65); margin-top: 10px; }
.band .btn--primary { background: var(--gold); color: var(--ink); }

/* template note */
.tpl-note { max-width: 760px; margin: 40px auto 64px; padding: 16px 20px 16px 54px; background: color-mix(in srgb, var(--gold) 9%, var(--surface)); border: 1px dashed var(--gold); border-radius: 4px; font-size: 13.5px; line-height: 1.6; color: var(--ink-dim); position: relative; }
.tpl-note::before { content: "T"; position: absolute; left: 20px; top: 15px; font-family: var(--font-mono); color: var(--gold); font-size: 13px; }
.tpl-note b { color: var(--ink); }

@media (max-width: 980px) {
  .page-head, .pgrid { grid-template-columns: 1fr; }
  .sgrid { grid-template-columns: 1fr 1fr; }
  .rel__grid { grid-template-columns: 1fr 1fr; }
  .prod { grid-template-columns: 40px 1fr auto; }
  .prod__desc { display: none; }
  .spec-card { position: static; }
}
@media (max-width: 620px) {
  .sgrid, .rel__grid { grid-template-columns: 1fr; }
  .crumbs { display: none; }
}


/* sticky-footer technique (body flex column; main grows) */
body { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }

/* ===== F1 footer — header-matched hovers (gradient underline, sheen,
   icon circles). WP destination: footer.php partial. ===== */
.lx-foot { background: var(--ink); color: rgba(247,244,239,.72); font-size: 14px; }
.lx-foot .wrap { display: grid; grid-template-columns: 300px 1fr 1fr 1fr 1.15fr; gap: 38px; padding-top: 58px; padding-bottom: 44px; }
.lx-foot__mark { display: inline-block; width: 24px; height: 24px; border-radius: 4px; background: linear-gradient(135deg, #f7f4ef 60%, #d9d4ca); position: relative; margin-bottom: 14px; }
.lx-foot__mark::after { content: ""; position: absolute; top: 6px; right: 6px; bottom: 6px; left: 10px; border-radius: 2px; background: var(--gold); }
.lx-foot__brand b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 800; color: var(--bg); letter-spacing: -.01em; }
.lx-foot__brand p { margin-top: 11px; font-size: 13px; line-height: 1.65; color: rgba(247,244,239,.55); max-width: 250px; }
.lx-foot__socs { display: flex; gap: 7px; margin-top: 18px; }
.lx-foot__soc { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(247,244,239,.3); color: rgba(247,244,239,.72); transition: border-color .3s, color .3s, box-shadow .3s, background .3s; }
.lx-foot__soc svg { width: 13px; height: 13px; fill: currentColor; }
.lx-foot__soc:hover { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px rgba(255,204,41,.18); background: rgba(255,255,255,.04); }
.lx-foot h3 { font-family: var(--font-mono); font-size: 9.5px; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 13px; }
.lx-foot nav ul, .lx-foot__contact { list-style: none; margin: 0; padding: 0; }
.lx-foot nav a { position: relative; text-decoration: none; display: inline-flex; align-items: center; padding: 4px 0; font-size: 13.5px; color: rgba(247,244,239,.72); transition: color .3s; }
.lx-foot nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .34s cubic-bezier(.2,.7,.2,1); }
.lx-foot nav a:hover { color: var(--bg); }
.lx-foot nav a:hover::after { transform: scaleX(1); }
.lx-foot__contact { display: flex; flex-direction: column; gap: 13px; font-size: 13.5px; font-style: normal; }
.lx-foot__contact .lbl { display: block; font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .22em; text-transform: uppercase; color: rgba(247,244,239,.4); margin-bottom: 3px; }
.lx-foot__contact a { position: relative; text-decoration: none; color: rgba(247,244,239,.72); transition: color .3s; }
.lx-foot__contact a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .34s cubic-bezier(.2,.7,.2,1); }
.lx-foot__contact a:hover { color: var(--bg); }
.lx-foot__contact a:hover::after { transform: scaleX(1); }
.lx-foot__contact .addr { font-size: 12.5px; line-height: 1.6; color: rgba(247,244,239,.55); }
.lx-foot__news { display: flex; gap: 9px; margin-top: 17px; }
.lx-foot__news input { flex: 1 1 130px; min-width: 0; border: 1px solid rgba(247,244,239,.3); background: rgba(255,255,255,.05); border-radius: 3px; padding: 11px 14px; font-family: var(--font-mono); font-size: 11px; color: var(--bg); outline: none; transition: border-color .3s, box-shadow .3s; }
.lx-foot__news input::placeholder { color: rgba(247,244,239,.4); }
.lx-foot__news input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255,204,41,.18); }
.lx-foot__btn { flex: none; display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--gold); color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; padding: 11px 18px; border-radius: 3px; cursor: pointer; position: relative; overflow: hidden; }
.lx-foot__btn::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform: translateX(-130%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lx-foot__btn:hover::after { transform: translateX(130%); }
.lx-foot__bar { border-top: 1px solid rgba(247,244,239,.13); }
.lx-foot__bar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding-top: 19px; padding-bottom: 19px; grid-template-columns: none; font-family: var(--font-mono); font-size: 10.5px; color: rgba(247,244,239,.45); }
.lx-foot__bar a { position: relative; text-decoration: none; color: rgba(247,244,239,.45); transition: color .3s; }
.lx-foot__bar a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .34s cubic-bezier(.2,.7,.2,1); }
.lx-foot__bar a:hover { color: var(--bg); }
.lx-foot__bar a:hover::after { transform: scaleX(1); }
.lx-foot__ql { display: flex; gap: 20px; flex-wrap: wrap; }
.lx-foot__top { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; background: none; border: 0; cursor: pointer; text-decoration: none; color: rgba(247,244,239,.45); transition: color .3s; }
.lx-foot__top .arr { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid rgba(247,244,239,.3); border-radius: 50%; transition: border-color .3s, color .3s, box-shadow .3s, background .3s; }
.lx-foot__top:hover { color: var(--bg); }
.lx-foot__top:hover .arr { border-color: var(--gold); color: var(--gold); box-shadow: 0 0 0 3px rgba(255,204,41,.18); background: rgba(255,255,255,.04); }
@media (max-width: 1024px) { .lx-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lx-foot .wrap { grid-template-columns: 1fr; gap: 30px; } .lx-foot__bar .wrap { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ===== internal page hero ===== */
.phero { border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.phero .lead { margin-top: 16px; }

/* ===== forms ===== */
.form { max-width: 760px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 7px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--border-bright); border-radius: 2px; font: inherit; font-size: 15px; color: var(--ink); background: var(--surface); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-dim); margin-top: 12px; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 24px; }
.aside-card h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 14px; }
.steps { counter-reset: step; }
.steps li { list-style: none; position: relative; padding: 0 0 16px 38px; counter-increment: step; font-size: 14px; color: var(--ink-dim); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: 11px; color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* ===== two-col content ===== */
.twocol { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px; align-items: start; padding-bottom: 44px; }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; } }

/* ===== blog ===== */
.posts { display: grid; gap: 18px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; text-decoration: none; display: grid; grid-template-columns: 240px 1fr; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.post-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(20,24,31,.07); }
.post-card__img { min-height: 190px; background: linear-gradient(150deg,#17565a,#3a888b); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.post-card__body { padding: 22px 24px; }
.post-card__meta { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); margin-bottom: 8px; }
.post-card__meta .msep { color: var(--border-bright); margin: 0 6px; }
.post-card__title { font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 8px; }
.post-card__excerpt { font-size: 14px; color: var(--ink-dim); margin-bottom: 12px; }
.post-card__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.post-card--feat { grid-template-columns: 1fr; }
.post-card--feat .post-card__img { min-height: 260px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 38px 0; font-family: var(--font-mono); font-size: 12.5px; }
.pagination a, .pagination span { min-width: 40px; text-align: center; padding: 10px 12px; border: 1px solid var(--border-bright); border-radius: 2px; text-decoration: none; color: var(--ink); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.widget { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 22px; margin-bottom: 18px; }
.widget h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 12px; }
.widget ul { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.widget ul a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-dim); }
.widget ul a:hover { color: var(--gold); }
.widget .tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; padding-bottom: 40px; }
@media (max-width: 980px) { .blog-layout { grid-template-columns: 1fr; } .post-card { grid-template-columns: 1fr; } }

/* ===== single post ===== */
.post-hero { height: 300px; border-radius: 4px; background: linear-gradient(150deg,#17565a,#3a888b); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; color: rgba(255,255,255,.55); text-transform: uppercase; margin: 26px 0 30px; }
.post-content { max-width: 70ch; }
.post-content p { color: var(--ink-dim); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; }
.post-content h2 { font-size: 24px; letter-spacing: -.01em; margin: 34px 0 12px; }
.author-box { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 22px; margin: 36px 0; }
.author-box .avatar { width: 58px; height: 58px; border-radius: 50%; background: var(--gold-dim); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 17px; flex: none; }
.comment { border-bottom: 1px solid var(--border); padding: 18px 0; }
.comment .cmeta { font-family: var(--font-mono); font-size: 10.5px; color: var(--gold); margin-bottom: 6px; }
.comment p { font-size: 14.5px; color: var(--ink-dim); margin: 0; }
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px 0; }
.postnav a { border: 1px solid var(--border); background: var(--surface); border-radius: 4px; padding: 16px 18px; text-decoration: none; }
.postnav a:hover { border-color: var(--gold); }
.postnav .dir { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 6px; }
.postnav .t { font-weight: 600; font-size: 15.5px; }

/* ===== faq ===== */
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 20px 0; font-size: 17.5px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 18px; color: var(--gold); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 0 20px; color: var(--ink-dim); max-width: 72ch; font-size: 15.5px; line-height: 1.7; }

/* ===== tds table ===== */
.tds-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.tds-table th, .tds-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; font-size: 14px; }
.tds-table thead th { font-family: var(--font-mono); font-size: 10.5px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); background: rgba(176,129,43,.06); }
.tds-table tr.famrow td { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); background: rgba(20,24,31,.025); padding: 10px 16px; }
.tds-table tr:hover td { background: rgba(176,129,43,.05); }

/* ===== sitemap page ===== */
.smap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 34px; padding-bottom: 44px; }
.smap h2 { font-family: var(--font-mono); font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.smap ul { list-style: none; margin: 0; padding: 0; }
.smap a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink-dim); font-size: 14px; }
.smap a:hover { color: var(--gold); }
@media (max-width: 820px) { .smap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .smap { grid-template-columns: 1fr; } }

/* ===== 404 / maintenance ===== */
.err { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; }
.err__code { font-family: var(--font-mono); font-size: clamp(90px, 16vw, 150px); line-height: 1; color: var(--gold); letter-spacing: -.04em; }
.err p { color: var(--ink-dim); max-width: 46ch; margin: 18px 0 26px; }
.err .links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.maint-body { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #101724; color: #f7f4ef; text-align: center; padding: 40px 24px; }
.maint-body .mbrand { font-family: var(--font-display); font-weight: 700; font-size: 30px; }
.maint-body .msub { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: #ffcc29; margin-bottom: 40px; }
.maint-body h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 14px; }
.maint-body p { color: rgba(247,244,239,.6); max-width: 48ch; line-height: 1.7; }
.maint-body .mdots { display: flex; gap: 10px; margin: 34px 0; }
.maint-body .mdots i { width: 12px; height: 12px; border-radius: 50%; background: #ffcc29; animation: mdot 1.2s ease-in-out infinite; }
.maint-body .mdots i:nth-child(2) { animation-delay: .2s; }
.maint-body .mdots i:nth-child(3) { animation-delay: .4s; }
@keyframes mdot { 0%, 100% { opacity: .25; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .maint-body .mdots i { animation: none; } }

/* generic content blocks */
.statgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-bottom: 40px; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 22px 20px; }
.stat .v { font-size: clamp(30px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.stat .v small { font-size: .5em; color: var(--gold); font-weight: 600; }
.stat .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); margin-top: 10px; line-height: 1.6; }
@media (max-width: 900px) { .statgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .statgrid { grid-template-columns: 1fr; } }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding-bottom: 40px; }
.pillar { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 26px; }
.pillar .no { font-family: var(--font-mono); font-size: 10px; color: var(--gold); }
.pillar h2 { font-size: 22px; letter-spacing: -.01em; margin: 10px 0 8px; }
.pillar p { font-size: 14.5px; color: var(--ink-dim); margin: 0; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; } }
.teamgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 40px; }
.member { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 24px; text-align: center; }
.member .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-dim); color: var(--gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; margin: 0 auto 12px; }
.member h3 { font-size: 16.5px; margin-bottom: 2px; }
.member .role { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); }
@media (max-width: 900px) { .teamgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .teamgrid { grid-template-columns: 1fr; } }
.legal { max-width: 74ch; padding-bottom: 50px; }
.legal h2 { font-size: 19px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-dim); font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }

/* quote-list engine (beta.16) */
.lxq-tab{position:fixed;right:18px;bottom:18px;z-index:80;display:inline-flex;align-items:center;gap:8px;background:var(--ink,#14181f);color:#fff;font-family:var(--font-mono,ui-monospace,'Courier New',monospace);font-size:11px;letter-spacing:.08em;text-transform:uppercase;padding:11px 14px;border-radius:4px;border:1px solid rgba(255,255,255,.16);box-shadow:0 10px 26px -10px rgba(20,24,31,.5);cursor:pointer;transition:transform .2s ease}
.lxq-tab:hover{transform:translateY(-2px)}
.lxq-tab b{background:var(--gold,#b0812b);color:var(--ink,#14181f);border-radius:2px;padding:1px 6px;font-weight:700}
.lxq-scrim{position:fixed;inset:0;z-index:89;background:rgba(20,24,31,.32);opacity:0;visibility:hidden;transition:opacity .25s ease}
.lxq-drawer{position:fixed;top:0;right:0;bottom:0;z-index:90;width:min(400px,92vw);background:var(--surface,#fff);border-left:1px solid var(--border,#e2ded6);transform:translateX(103%);transition:transform .3s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column}
html.lxq-open .lxq-drawer{transform:none}
html.lxq-open .lxq-scrim{opacity:1;visibility:visible}
html.lxq-open{overflow:hidden}
.lxq__head{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--border,#e2ded6)}
.lxq__head b{font-family:var(--font-mono,ui-monospace,'Courier New',monospace);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.lxq__x{background:none;border:0;font-size:20px;line-height:1;cursor:pointer;color:var(--ink,#14181f);padding:4px 8px}
.lxq__list{flex:1;overflow:auto;padding:4px 0 8px}
.lxq-item{display:flex;align-items:center;gap:10px;padding:12px 20px;border-bottom:1px solid var(--border,#e2ded6)}
.lxq-item__n{flex:1;min-width:0}
.lxq-item__n b{display:block;font-size:14px}
.lxq-item__n i{font-family:var(--font-mono,ui-monospace,'Courier New',monospace);font-style:normal;font-size:10.5px;letter-spacing:.06em;color:var(--ink-dim,#5c6570);text-transform:uppercase}
.lxq-qty{display:inline-flex;align-items:center;border:1px solid var(--border,#e2ded6);border-radius:3px}
.lxq-qty button{width:26px;height:26px;background:none;border:0;cursor:pointer;font-size:15px;color:var(--ink,#14181f)}
.lxq-qty b{min-width:26px;text-align:center;font-size:12px}
.lxq-rm{background:none;border:0;cursor:pointer;font-size:17px;color:var(--ink-dim,#5c6570);padding:2px 6px}
.lxq-rm:hover{color:var(--ink,#14181f)}
.lxq-empty{padding:26px 20px;font-size:13px;color:var(--ink-dim,#5c6570)}
.lxq__foot{padding:14px 20px 16px;border-top:1px solid var(--border,#e2ded6)}
.lxq__total{font-family:var(--font-mono,ui-monospace,'Courier New',monospace);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-dim,#5c6570);margin:0 0 10px}
.lxq-cta{display:block;text-align:center;background:var(--ink,#14181f);color:#fff;text-decoration:none;font-size:13.5px;font-weight:600;padding:12px 16px;border-radius:4px}
.lxq-cta:hover{background:#000}
.lxq__clear{display:block;width:100%;background:none;border:0;cursor:pointer;font-family:var(--font-mono,ui-monospace,'Courier New',monospace);font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-dim,#5c6570);margin-top:10px;padding:4px}
.lxq__clear:hover{color:var(--ink,#14181f)}
@media (prefers-reduced-motion: reduce){.lxq-tab,.lxq-drawer,.lxq-scrim{transition:none}}


.lx-logo { height: 42px; width: auto; display: block; }
.lx-foot__logo { height: 132px; width: auto; display: block; margin-bottom: 16px; background: transparent; padding: 0; }

.lx-markimg { width: 44px; height: 44px; display: block; flex: none; }
.lx-wordimg { height: 34px; width: auto; display: block; }
/* footer lockup: official mark above the wordmark, not beside it */
.lx-foot__brandmark { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0 0 18px; max-width: 228px; }
.lx-foot__brandmark .lx-markimg { width: 78px; height: 78px; margin: 0; }
.lx-foot__brandmark .lx-wordimg { height: 48px; width: auto; max-width: 100%; }
@media (max-width: 720px) {
  .lx-markimg { width: 36px; height: 36px; }
  .lx-wordimg { height: 28px; }
  .lx-foot__brandmark { max-width: 200px; }
  .lx-foot__brandmark .lx-markimg { width: 64px; height: 64px; margin-left: 2px; }
  .lx-foot__brandmark .lx-wordimg { height: 40px; }
}

/* beta.35: header clearance, scroll-shrink, stacked footer lockup —
   the single source of truth for the logo, header shrink and footer
   lockup (moved from convert.css). convert.css now holds only the
   quote bar and catalogue component styles. */
.lx-brand { flex: none; gap: 12px; margin-right: 4px; }
.lx-links { padding-left: 40px; padding-right: 18px; min-width: 0; }
.lx-markimg { width: 42px; height: 42px; max-width: none; }
.lx-wordimg { height: 32px; width: auto; max-width: none; display: block; }
.lx-markimg, .lx-wordimg, .lx-header .lx-btn, .lx-header .lx-link {
  transition: width .32s cubic-bezier(.2,.7,.2,1), height .32s cubic-bezier(.2,.7,.2,1), padding .32s cubic-bezier(.2,.7,.2,1);
}
.lx-header.is-scrolled {
  background: rgba(247,244,239,.94);
  backdrop-filter: saturate(1.15) blur(12px);
  box-shadow: 0 1px 0 rgba(20,24,31,.05), 0 10px 28px rgba(20,24,31,.05);
}
.lx-header.is-scrolled .lx-nav { padding-top: 7px; padding-bottom: 7px; }
.lx-header.is-scrolled .lx-markimg { width: 30px; height: 30px; }
.lx-header.is-scrolled .lx-wordimg { height: 22px; }
.lx-header.is-scrolled .lx-link { padding-top: 7px; padding-bottom: 7px; }
.lx-header.is-scrolled .lx-btn { padding: 8px 14px; }
.lx-chrome.dark .lx-header.is-scrolled { background: rgba(20,24,31,.92); box-shadow: 0 10px 28px rgba(0,0,0,.28); }
.lx-foot .lx-foot__brandmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  width: fit-content;
  max-width: 240px;
  text-decoration: none;
  color: inherit;
}
.lx-foot .lx-foot__brandmark .lx-markimg { width: 78px; height: 78px; margin: 0; }
.lx-foot .lx-foot__brandmark .lx-wordimg { height: 46px; width: auto; max-width: 100%; }
.lx-foot .lx-foot__brandmark:hover { opacity: .86; }
.lx-foot .lx-foot__brandmark:focus-visible { outline: 2px solid var(--gold, #b0812b); outline-offset: 4px; }
@media (max-width: 1180px) {
  .lx-links { padding-left: 22px; padding-right: 8px; }
  .lx-link { padding-left: 8px; padding-right: 8px; }
  .lx-header .lx-wordimg { height: 28px; }
}
@media (max-width: 720px) {
  .lx-header .lx-markimg { width: 36px; height: 36px; }
  .lx-header .lx-wordimg { height: 26px; }
  .lx-foot .lx-foot__brandmark { max-width: 200px; }
  .lx-foot .lx-foot__brandmark .lx-markimg { width: 64px; height: 64px; margin: 0; }
  .lx-foot .lx-foot__brandmark .lx-wordimg { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .lx-header, .lx-nav, .lx-markimg, .lx-wordimg { transition: none; }
}


/* beta.38: cross-browser and small-screen compatibility */
html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
.lx-header.is-scrolled { -webkit-backdrop-filter: saturate(1.15) blur(12px); }
img, video { max-width: 100%; }
.pgal__slide img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .lx-nav { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .lx-header .lx-btn { padding: 10px 12px; font-size: 11px; }
  .lx-burger { width: 44px; height: 44px; }
  body { padding-bottom: 72px; }
  .lxq-tab {
    left: 50%;
    right: auto;
    bottom: 12px;
    transform: translateX(-50%);
    max-width: calc(100vw - 24px);
    padding: 10px 12px;
  }
  .lxq-tab:hover { transform: translateX(-50%); }
  .lxq-tab { opacity: 0; pointer-events: none; }
  body.lxq-ready .lxq-tab { opacity: 1; pointer-events: auto; }
  .pgal, .cgal, .sgal { margin-bottom: 8px; }
  .lx-foot__socs { flex-wrap: wrap; }
  .lx-foot__news { flex-wrap: wrap; }
  .lx-foot__news input { min-width: 0; }
}
@media (max-width: 380px) {
  .lx-header .lx-wordimg { height: 22px; }
  .lx-header .lx-markimg { width: 32px; height: 32px; }
  .lx-header .lx-btn { padding: 9px 8px; letter-spacing: 0; }
}
@supports (padding: max(0px)) {
  .lxq-tab { bottom: max(12px, env(safe-area-inset-bottom)); }
  .lx-stickyq { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
}

/* beta.40: mobile-menu hardening — kill the 300ms double-tap delay on
   menu controls and let the panel track shrink below its content
   (pairs with the ensurePanel guard in chrome.js). */
.lx-burger, .lx-link { touch-action: manipulation; }
.lx-panel__inner { min-height: 0; }
