/* Luminar design system for Process Color. Shared by the demo and the WordPress theme.
   Colors are semantic tokens: components never name a color, so daylight is one block.
   `:root` is Obsidian CAD Studio, the default. `[data-theme="light"]` is Tactile Daylight. */
@font-face { font-family: "Inter"; src: url("fonts/inter-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-ro.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0102-0103, U+015E-015F, U+0162-0163, U+0218-021B; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/jakarta-latin.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("fonts/jakarta-ro.woff2") format("woff2"); font-weight: 600 800; font-display: swap; unicode-range: U+0102-0103, U+015E-015F, U+0162-0163, U+0218-021B; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/mono-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/mono-ro.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0102-0103, U+015E-015F, U+0162-0163, U+0218-021B; }

:root {
  color-scheme: dark;
  /* Obsidian CAD Studio: surfaces and light */
  --bg-obsidian: #060911;
  --bg-surface-1: #0B111E;
  --bg-surface-2: #111A2E;
  --bg-glass: rgba(15, 23, 42, .72);
  --border-hairline: rgba(148, 163, 184, .14);
  --border-specular: rgba(255, 255, 255, .22);
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-mono: #CBD5E1;
  /* Division accents, for strokes, glows and active states */
  --accent-cyan: #00D2FF;
  --accent-cyan-2: #0284C7;
  --accent-cyan-glow: rgba(0, 210, 255, .12);
  --accent-amber: #F59E0B;
  --accent-amber-2: #D97706;
  --accent-amber-glow: rgba(245, 158, 11, .14);
  --accent-magenta: #F43F5E;
  --accent-magenta-2: #E11D48;
  --accent-magenta-glow: rgba(244, 63, 94, .12);
  --accent-emerald: #10B981;
  --accent-emerald-2: #059669;
  --accent-emerald-glow: rgba(16, 185, 129, .12);
  /* Drawing materials */
  --cad-base: #0E1626;
  --cad-well: #05080F;
  --cad-shadow: rgba(0, 0, 0, .42);
  --cad-spec: rgba(255, 255, 255, .3);
  --cad-plate: rgba(6, 9, 17, .88);
  --cad-plate-ink: #E2E8F0;
  --cad-metal-1: #C2CCDB;
  --cad-metal-2: #8896AC;
  --cad-metal-3: #55647B;
  --cad-foam-1: #3B4557;
  --cad-foam-2: #272F3F;
  --cad-board-1: #6B7586;
  --cad-board-2: #4B5464;
  --cad-board-3: #39414F;
  /* Semantic tokens used by components */
  /* Product card */
  --card-fill: linear-gradient(180deg, rgba(19, 28, 49, .92) 0%, rgba(13, 20, 36, .98) 100%);
  --card-line: rgba(148, 163, 184, .14);
  --card-shadow: none;
  --card-hover-line: rgba(0, 210, 255, .45);
  --card-hover-shadow: 0 18px 36px -12px rgba(2, 6, 23, .65), 0 0 0 1px rgba(0, 210, 255, .15);
  --pod-fill: radial-gradient(circle at 50% 45%, rgba(30, 41, 59, .4) 0%, rgba(15, 23, 42, .95) 100%);
  --pod-grid: rgba(148, 163, 184, .05);
  --pod-line: rgba(148, 163, 184, .12);
  --chip-fill: rgba(11, 17, 32, .78);
  --chip-ink: #E2E8F0;
  --chip-line: rgba(148, 163, 184, .28);
  --code-fill: rgba(0, 210, 255, .1);
  --code-line: rgba(0, 210, 255, .3);
  --strip-fill: rgba(11, 17, 32, .65);
  --strip-line: rgba(148, 163, 184, .14);
  --tag-fill: rgba(148, 163, 184, .08);
  --tag-line: rgba(148, 163, 184, .14);
  --badge-fill: rgba(11, 17, 32, .82);
  --badge-ink: #F8FAFC;
  --badge-line: rgba(148, 163, 184, .24);
  --canvas: var(--bg-obsidian);
  --surface: var(--bg-surface-1);
  --surface-2: var(--bg-surface-2);
  --raised: #16213A;
  --ink: var(--text-primary);
  --muted: var(--text-secondary);
  --faint: #8A9BB3;
  --line: var(--border-hairline);
  --line-strong: rgba(148, 163, 184, .3);
  --strong: #F8FAFC;
  --strong-hover: #FFFFFF;
  --on-strong: #060911;
  --accent: #00D2FF;
  --accent-ink: #67E3FF;
  --accent-soft: #06303F;
  --action: #00D2FF;
  --action-hover: #67E3FF;
  --on-action: #04202B;
  --band: #0B111E;
  --band-2: #111A2E;
  --band-line: #24324A;
  --on-band: #E2E8F0;
  --on-band-muted: #CBD5E1;
  --on-band-faint: #A3B1C6;
  --band-accent: #67E3FF;
  --eco-soft: #0F2A1D;
  --eco-ink: #86EFAC;
  --eco-title: #BBF7D0;
  --eco-line: #1F5135;
  --utility-eco: #86EFAC;
  --whatsapp: #15803D;
  --whatsapp-hover: #166534;
  --warn-soft: #33260A;
  --warn-ink: #FCD34D;
  --warn-line: #5B4310;
  --danger: #F87171;
  --danger-soft: #2C1518;
  --danger-ink: #FCA5A5;
  --brand-red: #E11D48;
  --glass: rgba(6, 9, 17, .82);
  --backdrop: rgb(2 6 15 / .7);
  --studio-1: #1B2740;
  --studio-2: #101829;
  --crop: #4F6280;
  --grid-line: #121A29;
  --photo-filter: brightness(.94) contrast(1.02);
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 10px 26px -14px rgb(0 0 0 / .6);
  --shadow-lg: 0 24px 60px -16px rgb(0 0 0 / .75);
  --cmyk-cyan: #00A3FF;
  --cmyk-magenta: #EC008C;
  --cmyk-yellow: #FFD600;
  --key: #F8FAFC;
  --gold-foil: #C5A059;
  --gold-glint: #FDF4DC;
  --lux-soft: #2A2110;
  --lux-ink: #F0D9A4;
  --lux-line: #5E4B22;
  --glass-bar: rgba(15, 23, 42, .72);
  --glass-line: rgba(255, 255, 255, .14);
  --dot: rgb(255 255 255 / .1);
  --dot-hot: rgb(103 227 255 / .85);
  --spot: rgb(0 210 255 / .12);
  --specular: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.02));
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-ui: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius: 10px;
  --radius-sm: 6px;
  --header-h: 68px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-cad: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Tactile Daylight. Accents darken so they hold contrast on white. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg-obsidian: #F4F6FA;
  --bg-surface-1: #FFFFFF;
  --bg-surface-2: #EEF2F8;
  --bg-glass: rgba(255, 255, 255, .78);
  --border-hairline: rgba(15, 23, 42, .12);
  --border-specular: rgba(255, 255, 255, .95);
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-mono: #334155;
  --accent-cyan: #0284C7;
  --accent-cyan-2: #0369A1;
  --accent-cyan-glow: rgba(2, 132, 199, .1);
  --accent-amber: #B45309;
  --accent-amber-2: #92400E;
  --accent-amber-glow: rgba(180, 83, 9, .1);
  --accent-magenta: #E11D48;
  --accent-magenta-2: #BE123C;
  --accent-magenta-glow: rgba(225, 29, 72, .09);
  --accent-emerald: #047857;
  --accent-emerald-2: #065F46;
  --accent-emerald-glow: rgba(4, 120, 87, .1);
  --cad-base: #FFFFFF;
  --cad-well: #D8E1EC;
  --cad-shadow: rgba(15, 23, 42, .12);
  --cad-spec: rgba(255, 255, 255, .9);
  --cad-plate: rgba(255, 255, 255, .92);
  --cad-plate-ink: #0F172A;
  --cad-metal-1: #E5EAF1;
  --cad-metal-2: #BCC7D5;
  --cad-metal-3: #94A3B8;
  --cad-foam-1: #CBD3DF;
  --cad-foam-2: #B3BDCC;
  --cad-board-1: #C3CAD5;
  --cad-board-2: #A8B1BF;
  --cad-board-3: #929CAC;
  /* Product card */
  --card-fill: #FFFFFF;
  --card-line: rgba(15, 23, 42, .12);
  --card-shadow: 0 4px 16px -4px rgba(15, 23, 42, .08);
  --card-hover-line: rgba(2, 132, 199, .45);
  --card-hover-shadow: 0 18px 36px -12px rgba(15, 23, 42, .15), 0 0 0 1px rgba(2, 132, 199, .15);
  --pod-fill: radial-gradient(circle at 50% 45%, rgba(241, 245, 249, .8) 0%, rgba(226, 232, 240, .95) 100%);
  --pod-grid: rgba(148, 163, 184, .15);
  --pod-line: rgba(15, 23, 42, .08);
  --chip-fill: rgba(255, 255, 255, .88);
  --chip-ink: #334155;
  --chip-line: rgba(15, 23, 42, .18);
  --code-fill: rgba(2, 132, 199, .08);
  --code-line: rgba(2, 132, 199, .32);
  --strip-fill: rgba(241, 245, 249, .8);
  --strip-line: rgba(15, 23, 42, .1);
  --tag-fill: rgba(15, 23, 42, .04);
  --tag-line: rgba(15, 23, 42, .1);
  --canvas: var(--bg-obsidian);
  --surface: var(--bg-surface-1);
  --surface-2: var(--bg-surface-2);
  --raised: #FFFFFF;
  --faint: #64748B;
  --line-strong: rgba(15, 23, 42, .24);
  --strong: #0F172A;
  --strong-hover: #1E293B;
  --on-strong: #FFFFFF;
  --accent: #0284C7;
  --accent-ink: #0369A1;
  --accent-soft: #E0F2FE;
  --action: #0369A1;
  --action-hover: #075985;
  --on-action: #FFFFFF;
  --band: #0F172A;
  --band-2: #1E293B;
  --band-line: #334155;
  --band-accent: #7DD3FC;
  --on-band-faint: #94A3B8;
  --eco-soft: #DCFCE7;
  --eco-ink: #166534;
  --eco-title: #14532D;
  --eco-line: #BBF7D0;
  --warn-soft: #FEF3C7;
  --warn-ink: #92400E;
  --warn-line: #FDE68A;
  --danger: #B91C1C;
  --danger-soft: #FEF2F2;
  --danger-ink: #991B1B;
  --glass: rgb(255 255 255 / .9);
  --backdrop: rgb(15 23 42 / .55);
  --studio-1: #FFFFFF;
  --studio-2: #F1F5F9;
  --crop: #94A3B8;
  --grid-line: #EEF2F7;
  --photo-filter: contrast(1.02);
  --shadow: 0 1px 2px rgb(15 23 42 / .05), 0 8px 24px -12px rgb(15 23 42 / .14);
  --shadow-lg: 0 24px 60px -16px rgb(15 23 42 / .35);
  --key: #0F172A;
  --lux-soft: #F8F0DE;
  --lux-ink: #6B4E12;
  --lux-line: #E4D2A6;
  --glass-bar: rgb(255 255 255 / .78);
  --glass-line: rgb(15 23 42 / .12);
  --dot: rgb(15 23 42 / .13);
  --dot-hot: rgb(0 120 200 / .75);
  --spot: rgb(0 163 255 / .13);
  --specular: none;
}

[data-accent="cyan"] { --c: var(--accent-cyan); --c2: var(--accent-cyan-2); --cg: var(--accent-cyan-glow); }
[data-accent="amber"] { --c: var(--accent-amber); --c2: var(--accent-amber-2); --cg: var(--accent-amber-glow); }
[data-accent="magenta"] { --c: var(--accent-magenta); --c2: var(--accent-magenta-2); --cg: var(--accent-magenta-glow); }
[data-accent="emerald"] { --c: var(--accent-emerald); --c2: var(--accent-emerald-2); --cg: var(--accent-emerald-glow); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
#catalog, #divizii, #cnc, #certificari, #contact, .section, [id] { scroll-margin-top: calc(var(--header-h) + 16px); }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--canvas); color: var(--ink); font: 400 16px/1.55 var(--font-ui); }
main { flex: 1; }
main:focus { outline: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 750; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
a { color: var(--accent-ink); }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input, select, label { touch-action: manipulation; }
address { font-style: normal; }
::placeholder { color: var(--faint); opacity: 1; }
::selection { background: var(--accent-soft); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: min(100%, 1320px); margin-inline: auto; padding-inline: 24px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--strong); color: var(--on-strong); padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.mono, .sku { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.sprite { position: absolute; }
.cmyk-bar { height: 3px; background: linear-gradient(90deg, var(--cmyk-cyan) 0% 25%, var(--cmyk-magenta) 25% 50%, var(--cmyk-yellow) 50% 75%, var(--key) 75% 100%); }

.utility { background: var(--band); color: var(--on-band-muted); font-size: .8125rem; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; min-height: 36px; padding-block: 6px; }
.utility__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.utility a { color: var(--on-band); text-decoration: none; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; }
.utility__badge { color: var(--utility-eco); font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 40; background: var(--glass); backdrop-filter: blur(10px) saturate(1.4); border-bottom: 1px solid var(--line); transition: box-shadow 200ms var(--ease-out); }
.site-header[data-stuck] { box-shadow: var(--shadow); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand__mark { display: block; width: 34px; height: 36px; flex: none; }
.brand__facet { fill: #E11D48; }
.brand__facet--shade { fill: #9F1239; }
.brand__lockup { display: grid; gap: 3px; }
.brand__name { font: 800 1.22rem/1 var(--font-head); letter-spacing: -.025em; color: var(--ink); white-space: nowrap; }
.brand__tag { font: 600 .56rem/1 var(--font-mono); letter-spacing: .13em; color: var(--muted); white-space: nowrap; }
.brand__reg { margin-left: 1px; font: 500 .56rem/1 var(--font-ui); color: var(--brand-red); vertical-align: super; }
.brand--footer { margin-bottom: 14px; --ink: #F8FAFC; --muted: #A3B1C6; }
.site-nav { display: flex; gap: 20px; font-size: .9rem; font-weight: 500; }
.site-nav a { color: var(--muted); text-decoration: none; }
.site-nav ul, .site-nav li { display: contents; } /* A WordPress menu renders as a list. */
.site-nav__help { display: none; margin: 0; }
.header-search { position: relative; flex: 1; min-width: 160px; max-width: 340px; margin-left: auto; }
.header-search svg { position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 17px; height: 17px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.header-search input { width: 100%; height: 44px; padding: 0 12px 0 38px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--canvas); transition: border-color 150ms ease, box-shadow 150ms ease; }
.header-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: 0; }
.theme-toggle { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); color: var(--ink); transition: transform 160ms var(--ease-out), border-color 150ms ease; }
.theme-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.theme-toggle__moon { opacity: 0; transform: rotate(-45deg) scale(.8); }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(45deg) scale(.8); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }
.rfq-button { display: inline-flex; align-items: center; gap: 8px; height: 44px; min-height: 44px; padding: 0 12px 0 14px; border: 0; border-radius: var(--radius-sm); background: var(--action); color: var(--on-action); font-weight: 600; font-size: .9rem; white-space: nowrap; transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.rfq-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rfq-count { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 6px; border-radius: 12px; background: var(--on-action); color: var(--action); font: 700 .8rem/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.fly-image { position: fixed; z-index: 50; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); pointer-events: none; }

.data-notice { background: var(--warn-soft); color: var(--warn-ink); border-bottom: 1px solid var(--warn-line); font-size: .875rem; padding-block: 10px; }

.eyebrow { font: 600 .75rem/1.4 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 12px; }
.eyebrow--light { color: var(--band-accent); }

.hero { position: relative; overflow: hidden; isolation: isolate; background-color: var(--canvas); border-bottom: 1px solid var(--line); }
html:not(.js) .hero { background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px); background-size: 48px 48px; }
.hero__canvas { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__spot { position: absolute; left: 0; top: 0; z-index: -1; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; background: radial-gradient(closest-side, var(--spot), transparent); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.hero.is-lit .hero__spot { opacity: 1; }
.trim { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.trim::before, .trim::after { content: ""; position: absolute; background: var(--faint); }
.trim::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.trim::after { top: 50%; left: 0; right: 0; height: 1px; }
.trim--tl { left: 14px; top: 14px; }
.trim--tr { right: 14px; top: 14px; }
.trim--bl { left: 14px; bottom: 14px; }
.trim--br { right: 14px; bottom: 14px; }
.hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: stretch; padding-block: 44px 52px; }
.hero__copy { grid-column: span 7; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-width: 0; }
.hero__badge { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; margin-bottom: 18px; padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text-mono); font: 600 .7rem/1.35 var(--font-mono); letter-spacing: .05em; text-transform: uppercase; }
.hero__badge i { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--accent-emerald); }
.hero__badge b { margin-inline: 3px; color: var(--muted); font-weight: 600; }
.hero__frequent { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: .78rem; }
.hero__frequent span { margin-right: 2px; }
.hero__frequent button { min-height: 32px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: none; color: var(--text-mono); font: 500 .72rem/1.3 var(--font-mono); transition: border-color 150ms ease, color 150ms ease; }
.hero h1 { max-width: 18ch; font-size: clamp(2.15rem, 3.4vw + .5rem, 3.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -.03em; }
.hero__lead { margin-top: 18px; max-width: 54ch; color: var(--muted); font-size: 1.075rem; }
.quick-jump { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 22px; max-width: 680px; padding: 6px; border: 1px solid var(--glass-line); border-radius: 14px; background: var(--glass-bar); backdrop-filter: blur(14px) saturate(1.5); box-shadow: 0 1px 0 rgb(255 255 255 / .08) inset, 0 18px 40px -22px rgb(10 20 40 / .55); transition: box-shadow 200ms ease, border-color 150ms ease; }
.quick-jump:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft), 0 18px 40px -22px rgb(10 20 40 / .55); }
.quick-jump input { flex: 1; min-width: 0; height: 48px; padding-inline: 12px; border: 0; background: none; font-family: var(--font-mono); font-size: .9rem; }
.quick-jump input:focus { outline: 0; }
.quick-jump button { height: 48px; padding-inline: 18px; border: 0; border-radius: 10px; background: var(--strong); color: var(--on-strong); font-weight: 600; white-space: nowrap; transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.hero__media { grid-column: span 5; display: flex; min-width: 0; }

/* The hero's drawing stage. One prototype at a time, on a frosted panel in its division's colour. */
/* No backdrop-filter here: over the moving drawing it cost a third of the frame rate. */
.cad-stage { position: relative; display: flex; flex: 1; flex-direction: column; gap: 10px; min-width: 0; height: 100%; margin: 0; padding: 12px 14px 14px; border: 1px solid var(--border-hairline); border-radius: 16px; background: color-mix(in srgb, var(--bg-surface-1) 90%, transparent); box-shadow: inset 0 1px 0 var(--border-specular), 0 28px 56px -36px rgb(2 6 15 / .75); }
.cad-stage__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 40px; }
.cad-stage__title { flex: 1; min-width: 0; color: var(--muted); font-size: .86rem; line-height: 1.3; }
.cad-stage__code { margin-right: 6px; padding: 2px 7px; border-radius: 5px; background: var(--cg); color: var(--ink); font: 700 .82rem/1.5 var(--font-mono); white-space: nowrap; box-shadow: inset 0 0 0 1px var(--c); }
.cad-stage__play { position: relative; display: grid; place-items: center; width: 34px; height: 34px; flex: none; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--raised); color: var(--muted); transition: border-color 150ms ease, color 150ms ease; }
.cad-stage__play::after { content: ""; position: absolute; inset: -6px; }
.cad-stage__play span { width: 8px; height: 10px; border-inline: 3px solid currentColor; }
.cad-stage__play[aria-pressed="true"] span { width: 0; height: 0; margin-left: 2px; border-block: 5px solid transparent; border-inline: 8px solid currentColor; border-right: 0; }
.cad-stage__view { position: relative; flex: 1; min-height: 290px; border-radius: 10px; background: radial-gradient(60% 62% at 50% 54%, var(--cg), transparent 72%); transition: opacity 120ms ease; transform-style: preserve-3d; }
.cad-stage.is-swapping .cad-stage__view { opacity: 0; }
.cad-stage__view > .cad { position: absolute; inset: 0; }
/* Every model has four cells of fixed height, so changing model never moves the page. */
.cad-stage__specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 62px; gap: 1px; min-height: 64px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); }
.cad-stage__specs > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 7px 9px; background: var(--surface); }
.cad-stage__specs dt { font: 600 .66rem/1.2 var(--font-mono); letter-spacing: .05em; color: var(--muted); }
.cad-stage__specs dd { font: 600 .78rem/1.25 var(--font-mono); color: var(--text-mono); font-variant-numeric: tabular-nums; }
.cad-stage__tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.cad-stage__tabs button { position: relative; min-width: 0; min-height: 44px; padding: 6px 4px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--muted); font-size: .76rem; font-weight: 600; line-height: 1.2; transition: color 150ms ease, background-color 150ms ease; }
.cad-stage__tabs button:first-child { border-left: 0; }
.cad-stage__tabs button::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); transform: scaleX(0); transition: transform 200ms var(--ease-out); }
.cad-stage__tabs button[aria-pressed="true"] { background: var(--cg); color: var(--ink); }
.cad-stage__tabs button[aria-pressed="true"]::before { transform: none; }
.cad-stage__tabs button[data-model="rigide"], .cad-stage__tabs button[data-model="ciocolata"] { --c: var(--accent-amber); }
.cad-stage__tabs button[data-model="chese"], .cad-stage__tabs button[data-model="cofraje"] { --c: var(--accent-cyan); }
.cad-stage__tabs button[data-model="automotive"] { --c: var(--accent-magenta); }

.cad-stage__cta { flex: none; min-height: 36px; padding: 6px 4px; border: 0; background: none; color: var(--c); font-size: .8rem; font-weight: 600; white-space: nowrap; transition: transform 160ms var(--ease-out); }

/* Drawings. Fills default to none on the root element, and every stroke keeps its pixel weight. */
.cad { display: block; width: 100%; height: 100%; color: var(--muted); }
.cad path, .cad circle, .cad rect { vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.cad .k { stroke: var(--c); stroke-width: 1.3; }
.cad .k2 { stroke: var(--c); stroke-opacity: .6; stroke-width: 1; }
.cad .k3 { stroke: var(--c); stroke-opacity: .32; stroke-width: 1; }
.cad .k-au { stroke: var(--accent-amber); stroke-width: 1.2; }
.cad .cad-spec { stroke: var(--cad-spec); stroke-width: 1; }
.cad .cad-thin { stroke-width: .75; }
.cad .cad-ext { stroke-dasharray: 3 4; }
.cad .cad-glint { fill: #fff; fill-opacity: .1; }
.cad .cad-spot { fill: #fff; fill-opacity: .55; }
.cad .cad-point { fill: var(--c); }
.cad .cad-holes { fill: var(--c); fill-opacity: .85; }
.cad .cad-fan { fill: var(--c); fill-opacity: .1; }
.cad .cad-beam { stroke: var(--c); stroke-width: 2; }
.cad .cad-beam-glow { stroke: var(--c); stroke-opacity: .28; stroke-width: 7; }
.cad .cad-path { stroke: var(--c); stroke-width: 1.8; stroke-dasharray: 7 6; }
.cad .cad-plate { fill: var(--cad-plate); stroke: var(--c); stroke-opacity: .5; }
.cad text { font-family: var(--font-mono); font-weight: 600; text-anchor: middle; dominant-baseline: central; }
.cad .cad-dim, .cad .cad-note { fill: var(--cad-plate-ink); }
.cad .cad-axis { fill: var(--c); font-weight: 700; }
.cad .cad-foil { fill: var(--accent-amber); font-family: var(--font-head); font-weight: 800; dominant-baseline: auto; }

/* Motion: predetermined loops, so they stay in CSS, on transform and opacity. */
.cad-lift { animation: cad-lift 4.5s var(--ease-cad) var(--d, 0s) infinite; }
@keyframes cad-lift { 0%, 12% { transform: none; } 42%, 74% { transform: translateY(var(--lift)); } 100% { transform: none; } }
.cad-pulse { animation: cad-pulse 2.8s ease-in-out var(--d, 0s) infinite; }
@keyframes cad-pulse { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
.cad-pulse-sync { animation: cad-pulse-sync 4.5s var(--ease-cad) var(--d, 0s) infinite; }
@keyframes cad-pulse-sync { 0%, 18% { opacity: .15; } 44%, 72% { opacity: 1; } 100% { opacity: .15; } }
.cad-bob { animation: cad-bob 3.6s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes cad-bob { to { transform: translateY(-6px); } }
.cad-rise { animation: cad-rise 3.4s ease-in-out var(--d, 0s) infinite; }
@keyframes cad-rise { 0%, 46%, 100% { transform: none; opacity: .62; } 22% { transform: translateY(-7px); opacity: 1; } }
.cad-float { animation: cad-float 5.5s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes cad-float { to { transform: translateY(-7px); } }
.cad-hinge { animation: cad-hinge 2.25s linear var(--d, 0s) infinite alternate; }
@keyframes cad-hinge { 0%, 8% { transform: var(--m0); } 29% { transform: var(--m1); } 50% { transform: var(--m2); } 71% { transform: var(--m3); } 92%, 100% { transform: var(--m4); } }
.cad-wave { --wave: 380px; animation: cad-wave 4.5s linear infinite; }
.cad-wave--mini { --wave: 120px; }
@keyframes cad-wave { from { transform: translateX(calc(var(--wave) * -1)); } 72%, 100% { transform: translateX(var(--wave)); } }
.cad-scan { animation: cad-scan 4.5s linear var(--d, 0s) infinite alternate; }
.cad-mill { animation: cad-scan 4.5s ease-in-out var(--d, 0s) infinite alternate; }
@keyframes cad-scan { from { transform: translate(var(--fx), var(--fy)); } to { transform: translate(var(--tx), var(--ty)); } }
.cad-dock { animation: cad-dock 4.5s var(--ease-cad) var(--d, 0s) infinite; }
@keyframes cad-dock { 0%, 6% { transform: translate(var(--fx), var(--fy)); opacity: .35; } 42%, 84% { transform: translate(var(--tx), var(--ty)); opacity: 1; } 100% { transform: translate(var(--fx), var(--fy)); opacity: .35; } }
.cad-lock { opacity: 0; animation: cad-lock 4.5s ease var(--d, 0s) infinite; }
@keyframes cad-lock { 0%, 100% { opacity: 0; } 6%, 34% { opacity: 1; } 42% { opacity: 0; } }
.cad-drift { opacity: 0; animation: cad-drift 4.2s linear var(--d, 0s) infinite; }
@keyframes cad-drift { 0% { transform: none; opacity: 0; } 18% { opacity: .9; } 76% { opacity: .9; } 100% { transform: translateY(-96px); opacity: 0; } }
.cad .cad-path { animation: cad-path 2.6s linear infinite; }
@keyframes cad-path { to { stroke-dashoffset: -130; } }
.cad .cad-spin { animation: cad-path 6.5s linear infinite; }
.cad-cmyk { animation: cad-pulse 2.8s ease-in-out var(--d, 0s) infinite; }
/* Off-screen drawings stop, and the hero's control stops them all. */
.cad:not(.is-onscreen) *, .cad-paused .cad * { animation-play-state: paused !important; }

.hero__proof { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 1px; margin-top: 8px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--line); }
.hero__proof > div { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; background: var(--surface); }
.hero__proof dt { font-size: .74rem; color: var(--muted); }
.hero__proof dd { order: -1; font: 700 1.15rem/1.1 var(--font-mono); font-variant-numeric: tabular-nums; }
.hero__proof-main dd { font-size: 1.7rem; color: var(--accent-ink); }
.odo { display: inline-flex; align-items: flex-start; overflow: hidden; height: 1.1em; }
.odo__digit { display: flex; flex-direction: column; transition: transform 900ms var(--ease-in-out); transition-delay: calc(var(--i) * 70ms); }
.odo__digit b { display: block; height: 1.1em; font-weight: inherit; line-height: 1.1em; }

.section { padding-block: 72px; }
.section__head { margin-bottom: 28px; max-width: 760px; }
.section--finder { background: var(--surface); border-block: 1px solid var(--line); }
.section--dark { background: var(--band); color: var(--on-band); }
.section--dark h2 { color: #fff; }

.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.bento__card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; isolation: isolate; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: inset 0 1px 0 var(--border-specular); transition: border-color 200ms ease, box-shadow 250ms ease; }
.bento__card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), var(--cg), transparent 70%); opacity: 0; transition: opacity 300ms ease; pointer-events: none; }
.bento__card--a { grid-column: span 7; flex-direction: row; }
.bento__card--b { grid-column: span 5; grid-row: span 2; }
.bento__card--c { grid-column: span 3; }
.bento__card--d { grid-column: span 4; }
.bento__view { position: relative; flex: 1 1 auto; min-width: 0; min-height: 214px; margin: 10px 10px 0; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(70% 70% at 50% 52%, var(--cg), transparent 74%), var(--canvas); }
.bento__card--a .bento__view { order: 2; flex: 1 1 56%; margin: 10px 10px 10px 0; min-height: 300px; }
.bento__card--b .bento__view { min-height: 440px; }
.bento__view > .cad { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.bento__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 16px; min-width: 0; }
.bento__card--a .bento__body { flex: 0 0 44%; justify-content: center; }
.bento__title { font: 800 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.1 var(--font-head); letter-spacing: -.03em; }
.bento__card--c .bento__title, .bento__card--d .bento__title { font-size: 1.3rem; }
.bento__link { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.bento__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bento__text { color: var(--muted); font-size: .9rem; }
.bento__subs { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px; }
.bento__subs button { min-height: 36px; padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--raised); color: var(--muted); font-size: .76rem; font-weight: 600; white-space: nowrap; transition: border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.bento__count { display: inline-flex; align-items: center; gap: 4px; min-height: 1.2em; margin-top: 2px; font: 700 .8rem/1.2 var(--font-mono); color: var(--c); font-variant-numeric: tabular-nums; }
.bento__count::after { content: " →"; display: inline-block; transition: transform 200ms var(--ease-out); }

/* Category deck: every category is a card, and every label is shown whole. */
.filter-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; padding: 9px 10px 9px 14px; border: 1px solid var(--warn-line); border-radius: 10px; background: var(--warn-soft); color: var(--warn-ink); font-size: .84rem; }
.filter-banner button { min-height: 36px; padding: 4px 10px; border: 1px solid currentColor; border-radius: 6px; background: none; color: inherit; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.cat-card[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.cat-deck { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.cat-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; padding: 10px 8px 13px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); color: var(--muted); text-align: center; box-shadow: inset 0 1px 0 var(--border-specular); transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.cat-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--c); transform: scaleX(0); transition: transform 240ms var(--ease-out); }
.cat-card[aria-pressed="true"] { border-color: var(--c); background: color-mix(in oklab, var(--c) 12%, var(--surface-2)); color: var(--ink); }
.cat-card[aria-pressed="true"]::after { transform: none; }
.cat-card__view { display: block; width: 88px; height: 64px; flex: none; }
.cat-card__label { font-size: .8rem; font-weight: 600; line-height: 1.25; overflow-wrap: break-word; hyphens: manual; }
.cat-card small { padding: 1px 6px; border-radius: 4px; background: var(--cg); color: var(--ink); font: 700 .68rem/1.4 var(--font-mono); font-variant-numeric: tabular-nums; }
.pills-archive { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.filters { display: flex; flex-wrap: wrap; gap: 14px; padding: 16px; background: var(--canvas); border: 1px solid var(--line); border-radius: var(--radius); }
.filters__more, .filters__inner { display: contents; }
.button.filters-toggle { display: none; }
.filters-toggle svg { width: 16px; height: 16px; margin-right: 8px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.filters-toggle__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 8px; padding-inline: 5px; border-radius: 10px; background: var(--action); color: var(--on-action); font: 700 .72rem/1 var(--font-mono); }
.field { display: flex; flex: 1 1 200px; flex-direction: column; gap: 6px; min-width: 0; }
.field--search { flex-grow: 2; }
.field > span { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); transition: border-color 150ms ease, box-shadow 150ms ease; }
.field input:focus, .field select:focus, .field textarea:focus, .dims input:focus, .rfq-qty input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: 0; }
.field textarea { resize: vertical; }
.field--dims { flex: 1 0 100%; margin: 0; padding: 0; border: 0; }
.caliper { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 6px 18px; align-items: center; }
.caliper__wire { grid-row: span 2; width: 100%; height: auto; }
.wire-face { stroke: var(--accent); stroke-width: 1.25; stroke-linejoin: round; }
.wire-face--top { fill: var(--accent-soft); }
.wire-face--left { fill: none; }
.wire-face--right { fill: var(--accent-soft); fill-opacity: .45; }
.caliper__wire.is-empty .wire-face { stroke: var(--line-strong); stroke-dasharray: 4 3; fill: none; }
.wire-text { fill: var(--muted); font: 600 9.5px var(--font-mono); text-anchor: middle; }
.field .dim-range { width: 100%; min-height: 0; height: 22px; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; accent-color: var(--accent); grid-row: 2; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; }
.presets button { min-height: 40px; padding: 6px 12px; border: 1px dashed var(--line-strong); border-radius: 7px; background: var(--raised); color: var(--muted); font: 600 .76rem/1.2 var(--font-mono); transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease; }
.presets button[aria-pressed="true"] { border-style: solid; border-color: var(--action); background: var(--action); color: var(--on-action); }
.field--dims legend { padding: 0; margin-bottom: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 4px 8px; grid-auto-flow: column; }
.dims > label { grid-row: 1; }
.dims label { position: relative; display: block; }
.dims span { position: absolute; left: 10px; top: 50%; translate: 0 -50%; font-size: .72rem; color: var(--faint); pointer-events: none; }
.dims input { width: 100%; min-height: 44px; padding: 8px 10px 8px 62px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); font-family: var(--font-mono); text-align: right; transition: border-color 150ms ease, box-shadow 150ms ease; }
.dim-tables { margin-top: 18px; color: var(--muted); font-size: .875rem; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; }
.active-filters button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 4px 12px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-size: .8rem; font-weight: 600; transition: transform 160ms var(--ease-out); }
.active-filters button span { font-size: 1rem; line-height: 1; }
.result-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-block: 18px; }
#result-count { font: 500 .88rem/1.3 var(--font-mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.link-button { border: 0; background: none; padding: 4px; color: var(--accent-ink); font-size: .86rem; font-weight: 600; text-decoration: underline; }
.toggles { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-left: auto; }
.sort-field { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.sort-field select { min-height: 44px; padding: 6px 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); color: var(--ink); font-weight: 500; }
.segmented { display: inline-flex; padding: 3px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; }
.segmented button { min-height: 40px; padding: 6px 14px; border: 0; border-radius: 5px; background: transparent; font-size: .82rem; font-weight: 600; color: var(--muted); transition: background-color 150ms ease, color 150ms ease; }
.segmented button[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .15); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); grid-auto-flow: dense; gap: 18px; }
.load-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: 24px; }
/* ==========================================================================
   LUMINAR B2B PRODUCT CARD HARMONIZATION (.product-card)
   Colours are the "Product card" tokens in the two theme blocks at the top.
   ========================================================================== */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  background: var(--card-fill);
  border: 1px solid var(--card-line);
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: transform 200ms cubic-bezier(.16, 1, .3, 1),
              border-color 200ms ease,
              box-shadow 200ms ease;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

/* A mouse click must not leave the card lifted, and phones have no hover to end. */
.product-card:has(:focus-visible) {
  border-color: var(--card-hover-line);
  box-shadow: var(--card-hover-shadow);
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-3px);
    border-color: var(--card-hover-line);
    box-shadow: var(--card-hover-shadow);
  }
  .product-card:hover .studio.product-card__media img { transform: scale(1.035); }
  .product-card .compare-toggle:hover { border-color: var(--accent); color: var(--chip-ink); }
  .product-card .compare-toggle[aria-pressed="true"]:hover { color: var(--on-action); }
  .product-card__body button.sku:hover { border-color: var(--accent); }
  .product-card__body h3 a:hover, .product-card__body h2 a:hover { color: var(--accent-ink); }
}

[data-theme="dark"] .promo-card { border-color: transparent; background: linear-gradient(var(--band), var(--band)) padding-box, var(--specular) border-box; }
.promo-card { position: relative; grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-height: 280px; padding: 28px; overflow: hidden; isolation: isolate; border: 1px solid var(--band-line); border-radius: 16px; background: var(--band); color: var(--on-band); }
.promo-card h3 { max-width: 16ch; color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; }
.promo-card p { max-width: 38ch; color: var(--on-band-muted); font-size: .95rem; }
.promo-card .button { margin-top: auto; }
.promo-card__cad { position: absolute; right: -14px; bottom: -14px; z-index: -1; width: 54%; height: auto; fill: none; stroke: var(--band-line); stroke-width: 1.25; stroke-linejoin: round; transform-origin: bottom right; transition: stroke 200ms ease, transform 300ms var(--ease-out); }
.scrub { position: absolute; left: 14px; right: 14px; bottom: 4px; z-index: 1; display: flex; gap: 2px; opacity: 0; transition: opacity 120ms ease; pointer-events: none; }
.scrub i { flex: 1; height: 2px; background: var(--crop); }
.scrub i.is-on { background: var(--accent); }
.product-card__media.is-scrubbing .scrub { opacity: 1; }
.studio__flag { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 2px 8px; border-radius: 4px; background: var(--gold-foil); color: #1B1405; font: 700 .68rem/1.6 var(--font-ui); }
.tag--lux { background: var(--lux-soft); box-shadow: inset 0 0 0 1px var(--lux-line); color: var(--lux-ink); font-weight: 700; }
.fly-plus { position: fixed; z-index: 50; left: 0; top: 0; padding: 2px 7px; border-radius: 999px; background: var(--eco-ink); color: var(--eco-soft); font: 700 .8rem/1.4 var(--font-mono); pointer-events: none; }
.burst { position: fixed; z-index: 50; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -2px; top: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--eco-ink); animation: burst 420ms var(--ease-out) forwards; }
.burst i:nth-child(1) { --dx: 0; --dy: -22px; }
.burst i:nth-child(2) { --dx: 19px; --dy: -11px; background: var(--cmyk-cyan); }
.burst i:nth-child(3) { --dx: 19px; --dy: 11px; background: var(--cmyk-magenta); }
.burst i:nth-child(4) { --dx: 0; --dy: 22px; background: var(--cmyk-yellow); }
.burst i:nth-child(5) { --dx: -19px; --dy: 11px; }
.burst i:nth-child(6) { --dx: -19px; --dy: -11px; background: var(--cmyk-cyan); }
@keyframes burst { to { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: 0; } }
.studio { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: radial-gradient(circle at center, var(--studio-1) 0%, var(--studio-2) 100%); }
button.studio { cursor: zoom-in; }
.studio::after { content: ""; position: absolute; inset: 10px; pointer-events: none; --c: var(--crop); background:
  linear-gradient(var(--c), var(--c)) 0 0 / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 12px no-repeat,
  linear-gradient(var(--c), var(--c)) 100% 0 / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 12px no-repeat,
  linear-gradient(var(--c), var(--c)) 0 100% / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px 12px no-repeat,
  linear-gradient(var(--c), var(--c)) 100% 100% / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 12px no-repeat; }
.studio img { width: 100%; height: 100%; object-fit: contain; padding: 12px; filter: var(--photo-filter); transition: transform 300ms var(--ease-out), opacity 200ms ease; }
.fit-cover .studio img { object-fit: cover; padding: 0; }
img.fade:not(.is-loaded) { opacity: 0; }
[data-theme="dark"] .studio img[src$=".svg"] { filter: invert(.88) hue-rotate(180deg); } /* Schematics are drawn for white. */
.studio__badge { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 2px 8px; border-radius: 4px; background: rgb(15 23 42 / .82); color: #fff; font: 600 .72rem/1.6 var(--font-mono); }
.studio__kind { position: absolute; left: 14px; bottom: 14px; z-index: 1; padding: 2px 6px; border-radius: 3px; background: var(--surface); color: var(--muted); font: 500 .66rem/1.5 var(--font-mono); letter-spacing: .03em; }
/* Shared with the product sheet and the RFQ list. */
.sku-row { display: flex; flex-wrap: wrap; gap: 6px; }
.sku { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 8px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--canvas); color: var(--ink); font-size: .78rem; font-weight: 700; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.sku--more { background: none; border-style: dashed; color: var(--accent-ink); }
.sku--request { border-style: dashed; color: var(--muted); font-family: var(--font-ui); }
button.sku[aria-pressed="true"] { background: var(--action); border-color: var(--action); color: var(--on-action); }

/* 1. Compare Toggle — Frosted Dark Pill (Always legible over white JPEGs) */
.product-card .compare-toggle {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 10px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--chip-ink);
  background: var(--chip-fill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--chip-line);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease, transform 160ms var(--ease-out);
}

.product-card .compare-toggle i {
  width: 12px;
  height: 12px;
  border: 1.5px solid currentColor;
  border-radius: 3px;
}

.product-card .compare-toggle[aria-pressed="true"] {
  color: var(--on-action);
  background: var(--action);
  border-color: var(--action);
  box-shadow: 0 0 12px var(--card-hover-line);
}

.product-card .compare-toggle[aria-pressed="true"] i { background: currentColor; }

/* 2. Studio Media Pod — Harmonizes bright white scraped photos into dark UI.
   Fit, filter and transitions stay on .studio img: the grid's "fit" toggle and the
   dark-theme inversion of schematics both depend on them. */
.product-card .studio.product-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 16px);
  margin: 8px 8px 0 8px;
  aspect-ratio: 4 / 3;
  padding: 12px;
  background:
    var(--pod-fill),
    linear-gradient(to right, var(--pod-grid) 1px, transparent 1px),
    linear-gradient(to bottom, var(--pod-grid) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px, 20px 20px;
  border: 1px solid var(--pod-line);
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
}

.product-card .studio.product-card__media::after { display: none; }

.product-card .studio.product-card__media img {
  padding: 0;
  border-radius: 7px;
  transition: transform 280ms cubic-bezier(.16, 1, .3, 1), opacity 200ms ease;
}

.fit-cover .product-card .studio.product-card__media { padding: 0; }
.fit-cover .product-card .studio.product-card__media img { border-radius: 0; }

/* Photo counter badge: it sits on the photo, so it keeps one look in both themes. */
.product-card .studio__badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 600;
  color: var(--badge-ink);
  background: var(--badge-fill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--badge-line);
  border-radius: 6px;
}

/* 3. Card Body — Deterministic Row Alignment. The strip takes the spare height, so
   tags and actions line up across a grid row however many cells each card shows. */
.product-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(28px, auto) 2.85rem 1fr 28px auto;
  gap: 12px;
  flex: 1;
  padding: 14px 16px 16px;
}

/* Zone A: SKU Row. skuRow() previews only the codes that fit one line. */
.product-card__body [data-skus] {
  display: flex;
  align-items: center;
  min-height: 28px;
}

.product-card__body .sku {
  padding: 3px 8px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--accent-ink);
  background: var(--code-fill);
  border: 1px solid var(--code-line);
  border-radius: 6px;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 160ms var(--ease-out);
}

.product-card__body button.sku { cursor: pointer; }

.product-card__body .sku[aria-pressed="true"] {
  color: var(--on-action);
  background: var(--action);
  border-color: var(--action);
}

.product-card__body .sku--more { background: none; border-style: dashed; }

.product-card__body .sku--request {
  border-style: dashed;
  color: var(--muted);
  font-family: var(--font-ui);
}

/* Zone B: Product Title — Strictly locked to 2 lines for horizontal baseline harmony */
.product-card__body h3,
.product-card__body h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__body h3 a,
.product-card__body h2 a {
  color: inherit;
  text-decoration: none;
}

/* Zone C: Technical Spec Strip. Measurements are the reason buyers open this page, so
   nothing here truncates: cells sit side by side while they fit and wrap when they do
   not. The strip clips each row's first divider. */
.product-card__body dl.spec-strip {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start; /* EXT shares a baseline across the row. */
  gap: 8px 0;
  margin: 0;
  padding: 8px 0;
  background: var(--strip-fill);
  border: 1px solid var(--strip-line);
  border-radius: 10px;
  overflow: hidden;
}

.product-card__body dl.spec-strip > div {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  margin-left: -1px;
  padding-inline: 10px;
  border-left: 1px solid var(--strip-line);
}

.product-card__body dl.spec-strip dt {
  font-family: var(--font-mono);
  font-size: .625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 2px;
}

.product-card__body dl.spec-strip dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* One size never breaks in the middle: multi-part values wrap at their slashes. */
.product-card__body dl.spec-strip dd span { display: inline-block; white-space: nowrap; }

/* Zone D: Single-Line Tag Row. Wrapped tags fall below the clip, so a tag is shown
   whole or not at all. */
.product-card__body .tag-row {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  height: 28px;
  overflow: hidden;
}

.product-card__body .tag {
  max-width: 100%;
  padding: 3px 8px;
  font-size: .72rem;
  font-weight: 500;
  line-height: 20px;
  color: var(--muted);
  background: var(--tag-fill);
  border: 1px solid var(--tag-line);
  border-radius: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card__body .tag--eco {
  color: var(--eco-ink);
  background: var(--eco-soft);
  border-color: var(--eco-line);
}

.product-card__body .tag--lux {
  color: var(--lux-ink);
  background: var(--lux-soft);
  border-color: var(--lux-line);
}

/* Zone E: Balanced Card Actions (38% Secondary / 62% Primary CTA) */
.product-card__body .card-actions {
  display: grid;
  grid-template-columns: minmax(100px, .85fr) 1.35fr;
  gap: 8px;
  margin-top: auto;
}

.product-card__body .card-actions .button {
  min-height: 40px;
  padding: 0 12px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 8px;
}

.skeleton { min-height: 500px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); }
.skeleton i { position: relative; display: block; overflow: hidden; background: var(--surface-2); }
.skeleton i:first-child { aspect-ratio: 4 / 3; }
.skeleton i:not(:first-child) { height: 14px; margin: 14px 16px; border-radius: 4px; }
.skeleton i:last-child { width: 55%; margin-bottom: 20px; }
.skeleton i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--line), transparent); transform: translateX(-100%); animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
html:not(.js) .skeleton { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid transparent; border-radius: var(--radius-sm); font-size: .875rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.button--primary { background: var(--action); color: var(--on-action); }
.button--ghost { background: var(--raised); border-color: var(--line-strong); color: var(--ink); }
.button--whatsapp { background: var(--whatsapp); color: #fff; }
.button--light { margin-top: 22px; background: #fff; color: #0F172A; }
.button { position: relative; }
.button.is-added, .button.is-added:hover { background: var(--eco-soft); border-color: var(--eco-line); color: var(--eco-ink); }
.button.is-added::before { content: ""; width: 5px; height: 10px; margin: -3px 2px 0 0; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.button.just-added::before { animation: check-in 240ms var(--ease-out); }
@keyframes check-in { from { opacity: 0; transform: rotate(45deg) scale(.4); } }
.button[aria-disabled="true"], .button:disabled { opacity: .5; pointer-events: none; }
.button:active, .rfq-button:active, .quick-jump button:active, .theme-toggle:active, .cat-card:active, .bento__subs button:active, .cad-stage__cta:active, .icon-button:active, .nav-toggle:active, button.sku:active, .compare-toggle:active, .active-filters button:active, .help-launcher:active, .certs__card:active { transform: scale(.97); }

.matrix { overflow: auto; max-height: min(78vh, 760px); border: 1px solid var(--line); border-radius: var(--radius); }
.matrix table { width: 100%; min-width: 1040px; border-collapse: collapse; font-size: .84rem; }
.matrix th { position: sticky; top: 0; z-index: 2; background: var(--band); color: var(--on-band); text-align: left; font-weight: 600; padding: 0; white-space: nowrap; }
.matrix th button, .matrix th > span { display: block; width: 100%; padding: 11px 12px; border: 0; background: none; color: inherit; text-align: left; font: inherit; }
.matrix td { padding: 8px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.matrix tr:nth-child(even) td { background: var(--canvas); }
.matrix td.mono { white-space: nowrap; font-size: .78rem; }
.matrix td.mono--wrap { white-space: normal; min-width: 150px; }
.matrix td.mono--sku { min-width: 130px; max-width: 210px; } /* One product lists 23 model codes. */
.matrix td:last-child { position: sticky; right: 0; z-index: 1; background: var(--surface); }
.matrix th:last-child { right: 0; z-index: 3; }
.matrix th:last-child, .matrix td:last-child { box-shadow: -1px 0 0 var(--line); }
.matrix__thumb { display: block; width: 64px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--studio-1); }
.matrix__thumb img { width: 100%; height: 100%; object-fit: contain; }
.matrix .button { min-height: 36px; padding: 4px 10px; font-size: .78rem; white-space: nowrap; }
.empty-state { padding: 28px 16px; color: var(--muted); text-align: center; font-size: .95rem; }

.cnc { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.cnc p:not(.eyebrow) { margin-top: 16px; color: var(--on-band-muted); max-width: 54ch; }
.capabilities > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding-block: 15px; border-top: 1px solid var(--band-line); }
.capabilities > div:last-child { border-bottom: 1px solid var(--band-line); }
.capabilities dt { font: 600 .74rem/1.6 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--on-band-faint); }
.capabilities dd { color: #fff; font-weight: 500; }

.section--certs { background: var(--surface); border-top: 1px solid var(--line); }
.certs { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.certs__intro p:not(.eyebrow) { margin-top: 14px; color: var(--muted); max-width: 52ch; }
.certs__badges { width: 100%; max-width: 440px; height: auto; margin-top: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.certs__card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--canvas); color: var(--muted); font-size: .9rem; text-decoration: none; transition: border-color 150ms ease, transform 160ms var(--ease-out); }
.certs__card img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.certs__card-title { color: var(--ink); font: 700 1.05rem/1.3 var(--font-head); }
.certs__card--eco { background: var(--eco-soft); border-color: var(--eco-line); color: var(--eco-ink); justify-content: center; }
.certs__card--eco .certs__card-title { color: var(--eco-title); }
.certs__recycle { font-size: 3rem; line-height: 1; }

.logistics { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.logistics address { margin-top: 16px; font-size: 1.1rem; font-weight: 500; }
.logistics p:not(.eyebrow) { margin-top: 8px; color: var(--muted); }
.route-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.route-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 600; transition: border-color 150ms ease, color 150ms ease; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-grid > div { padding: 18px; background: var(--surface); min-width: 0; }
.contact-grid > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.contact-grid dt { font-size: .78rem; color: var(--faint); }
.contact-grid dd { margin-top: 4px; font-weight: 600; overflow-wrap: anywhere; }
.contact-grid a { color: var(--ink); }

.site-footer { background: var(--band); color: var(--on-band-faint); font-size: .875rem; padding-block: 48px; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px; }
.site-footer__name { color: #fff; font-weight: 600; margin-bottom: 8px; }
.site-footer h2 { font: 600 .74rem/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-band-muted); margin-bottom: 12px; }
.site-footer li { padding-block: 3px; }
.site-footer a { color: var(--on-band-muted); text-decoration: none; }
.footer-theme { margin-top: 18px; }
.footer-theme .segmented { background: var(--band-2); border-color: var(--band-line); }
.footer-theme .segmented button { color: var(--on-band-muted); }
.footer-theme .segmented button[aria-pressed="true"] { background: var(--on-band); color: #0F172A; }

dialog { color: var(--ink); overscroll-behavior: contain; }
dialog::backdrop { background: var(--backdrop); opacity: 0; transition: opacity 240ms var(--ease-out), overlay 240ms allow-discrete, display 240ms allow-discrete; }
dialog[open]::backdrop { opacity: 1; }
@starting-style { dialog[open]::backdrop { opacity: 0; } }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--raised); color: var(--ink); font-size: 1.4rem; line-height: 1; transition: border-color 150ms ease, transform 160ms var(--ease-out); }

.drawer { width: min(100%, 520px); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--surface); box-shadow: var(--shadow-lg); opacity: 0; transform: translateX(100%); transition: transform 300ms var(--ease-drawer), opacity 120ms ease, overlay 300ms allow-discrete, display 300ms allow-discrete; }
.drawer[open] { display: flex; flex-direction: column; opacity: 1; transform: none; }
@starting-style { .drawer[open] { opacity: 0; transform: translateX(100%); } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.25rem; }
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tabs::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 50%; height: 2px; background: var(--accent); transition: transform 200ms var(--ease-in-out); }
.tabs[data-tab="custom"]::after { transform: translateX(100%); }
.tabs button { padding: 12px 10px; border: 0; background: none; font-size: .84rem; font-weight: 600; color: var(--muted); transition: color 150ms ease; }
.tabs button[aria-selected="true"] { color: var(--accent-ink); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.rfq-list > li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding-block: 10px; border-bottom: 1px solid var(--line); }
.rfq-list img { width: 64px; height: 48px; object-fit: contain; border: 1px solid var(--line); border-radius: 4px; background: var(--studio-1); }
.rfq-list strong { display: block; font-size: .875rem; line-height: 1.3; font-weight: 600; }
.rfq-list .sku { margin-bottom: 3px; min-height: 22px; font-size: .72rem; }
.rfq-line__controls { display: flex; align-items: center; gap: 6px; }
.rfq-qty { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; color: var(--muted); }
.rfq-qty input { width: 84px; height: 36px; padding: 0 6px; border: 1px solid var(--line-strong); border-radius: 5px; background: var(--raised); color: var(--ink); font-family: var(--font-mono); font-size: .82rem; text-align: right; }
.rfq-remove { width: 32px; height: 36px; border: 0; background: none; color: var(--faint); font-size: 1.2rem; transition: color 150ms ease; }
.contact-fields { margin: 16px 0 0; padding: 0; border: 0; }
.contact-fields legend { padding: 0; margin-bottom: 8px; font-size: .84rem; font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field--wide { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -9999px; }
.drawer__hint { margin-top: 8px; font-size: .78rem; color: var(--muted); }
.field input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }
.drawer__status { padding-inline: 20px; font-size: .875rem; font-weight: 600; }
.drawer__status:not(:empty) { padding-block: 10px; border-top: 1px solid var(--line); }
.drawer__status[data-kind="ok"] { background: var(--eco-soft); color: var(--eco-ink); }
.drawer__status[data-kind="error"] { background: var(--danger-soft); color: var(--danger-ink); }
.drawer__privacy { margin-top: 10px; font-size: .78rem; color: var(--muted); }
.drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 20px max(14px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--canvas); }
#rfq-copy, #rfq-submit { grid-column: 1 / -1; }

.sheet { width: min(calc(100% - 32px), 1060px); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-lg); overflow: auto; opacity: 0; transform: scale(.96); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out), overlay 220ms allow-discrete, display 220ms allow-discrete; }
.sheet[open] { opacity: 1; transform: none; }
@starting-style { .sheet[open] { opacity: 0; transform: scale(.96); } }
.sheet__close { position: absolute; right: 12px; top: 12px; z-index: 2; }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
.sheet__gallery { padding: 16px; background: var(--canvas); min-width: 0; }
.studio--large { border-radius: var(--radius-sm); border: 1px solid var(--line); cursor: default; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.thumbs button { width: 72px; height: 54px; padding: 0; border: 2px solid var(--line); border-radius: 5px; overflow: hidden; background: var(--studio-1); transition: border-color 150ms ease; }
.thumbs button[aria-current="true"] { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.sheet__info { display: flex; flex-direction: column; gap: 12px; padding: 24px; min-width: 0; }
.sheet__info h2 { font-size: 1.45rem; padding-right: 40px; }
.sheet__specs { border-top: 1px solid var(--line); }
.sheet__specs > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--line); font-size: .875rem; }
.sheet__specs dt { color: var(--faint); }
.sheet__specs dd { font-family: var(--font-mono); font-size: .82rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sheet__source { font-size: .82rem; color: var(--muted); }

.compare-head { padding: 20px 64px 12px 20px; }
.compare-head h2 { font-size: 1.35rem; }
.compare-head p { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.compare-table { overflow-x: auto; padding: 0 20px 20px; }
.compare-table table { width: 100%; min-width: 560px; border-collapse: collapse; table-layout: fixed; font-size: .86rem; }
.compare-table th, .compare-table td { padding: 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.compare-table thead th { border-top: 0; font-weight: 700; }
.compare-table thead img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--studio-1); }
.compare-table tbody th { width: 110px; color: var(--faint); font-weight: 500; }
.compare-table tr.is-diff td { background: var(--accent-soft); }
.compare-table td.mono { font-size: .8rem; }
.compare-bar { position: fixed; left: 50%; bottom: 20px; z-index: 30; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 8px 8px 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-lg); font-size: .875rem; font-weight: 600; translate: -50% 0; transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), display 200ms allow-discrete; }
@starting-style { .compare-bar { opacity: 0; transform: translateY(16px); } }
.compare-bar[hidden] { opacity: 0; transform: translateY(16px); }
.compare-bar .button { min-height: 38px; border-radius: 999px; }

.help-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 31; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding-inline: 16px; border: 0; border-radius: 999px; background: var(--strong); color: var(--on-strong); font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg); transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.help-launcher svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.help-panel { position: fixed; inset: auto 20px 80px auto; width: min(calc(100% - 32px), 320px); margin: 0; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(8px) scale(.97); transform-origin: bottom right; transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), overlay 180ms allow-discrete, display 180ms allow-discrete; }
.help-panel:popover-open { opacity: 1; transform: none; }
@starting-style { .help-panel:popover-open { opacity: 0; transform: translateY(8px) scale(.97); } }
.help-panel h2 { font-size: 1.05rem; }
.help-panel p { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.help-panel ul { display: grid; gap: 8px; margin-top: 14px; }
.help-panel .button { width: 100%; }

.toast { position: fixed; inset: auto auto 84px 50%; translate: -50% 0; z-index: 60; margin: 0; max-width: calc(100% - 32px); padding: 10px 16px; border: 0; border-radius: var(--radius-sm); background: var(--strong); color: var(--on-strong); font-size: .875rem; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(100%); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), overlay 200ms allow-discrete, display 200ms allow-discrete; }
.toast:popover-open { opacity: 1; transform: none; }
@starting-style { .toast:popover-open { opacity: 0; transform: translateY(100%); } }

.mobile-bar { display: none; }
.mobile-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 0; min-height: 48px; padding: 6px 8px; border-radius: 10px; font-size: .84rem; font-weight: 600; line-height: 1.15; transition: transform 160ms var(--ease-out); }
.mobile-bar svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.mobile-bar__filter { border: 1px solid var(--line-strong); background: var(--raised); color: var(--ink); }
.mobile-bar__rfq { border: 0; background: var(--action); color: var(--on-action); }
.mobile-bar button:active { transform: scale(.97); }
.filter-sheet { position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; max-height: 88dvh; margin: 0; padding: 0; border: 0; border-radius: 16px 16px 0 0; background: var(--surface); box-shadow: var(--shadow-lg); transform: translateY(100%); transition: transform 300ms var(--ease-drawer), overlay 300ms allow-discrete, display 300ms allow-discrete; }
.filter-sheet[open] { display: flex; flex-direction: column; transform: none; }
@starting-style { .filter-sheet[open] { transform: translateY(100%); } }
.filter-sheet__body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px; }
.filter-sheet__foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--canvas); }
.filter-sheet__foot .button { width: 100%; }
.filter-sheet .filters__more { display: block; }
.filter-sheet .filters__inner { display: flex; flex-direction: column; gap: 20px; }
.filter-sheet .field { flex: 0 0 auto; }
.filter-sheet .caliper { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.filter-sheet .caliper__wire { display: none; }
.filter-sheet .dims { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; gap: 2px; }
.filter-sheet .dims > label { grid-row: auto; }
.filter-sheet .field .dim-range { grid-row: auto; height: 34px; margin-bottom: 6px; }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; flex: none; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); transition: transform 160ms var(--ease-out); }
.nav-toggle svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }

/* Category archive and breadcrumbs in the WordPress theme */
.breadcrumbs { margin-bottom: 18px; color: var(--muted); font-size: .875rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.archive-intro { max-width: 72ch; margin-top: 12px; color: var(--muted); }
.archive-pagination { margin-top: 28px; }
.archive-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.archive-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding-inline: 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--raised); text-decoration: none; }
.archive-pagination .current { background: var(--strong); border-color: var(--strong); color: var(--on-strong); }
.page-content { max-width: 80ch; }
.page-list { display: grid; gap: 8px; }

/* Single product template in the WordPress theme */
.single-product { padding-block: 40px 72px; }
.single-product__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.single-product h1 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.single-product__content { margin-top: 32px; max-width: 72ch; }
.single-product__content img { height: auto; border-radius: var(--radius-sm); }

/* Motion. Pointer devices only for hover, since touch fires false hovers on tap. */
@media (hover: hover) and (pointer: fine) {
  .utility a:hover, .site-footer a:hover { color: #fff; text-decoration: underline; }
  .site-nav a:hover { color: var(--ink); }
  .rfq-button:hover, .button--primary:hover { background: var(--action-hover); }
  .button--ghost:hover { border-color: var(--strong); }
  .button--whatsapp:hover { background: var(--whatsapp-hover); }
  .button--light:hover { background: var(--band-accent); }
  .quick-jump button:hover, .help-launcher:hover { background: var(--strong-hover); }
  .presets button:hover { border-color: var(--accent); color: var(--ink); }
  .cat-card:hover { border-color: var(--c); color: var(--ink); }
  .cad-stage__tabs button:hover { color: var(--ink); }
  .cad-stage__play:hover { border-color: var(--strong); color: var(--ink); }
  .cad-stage__cta:hover { text-decoration: underline; }
  .hero__frequent button:hover { border-color: var(--accent); color: var(--ink); }
  .bento__subs button:hover { border-color: var(--c); color: var(--ink); }
  .theme-toggle:hover, .icon-button:hover, .nav-toggle:hover { border-color: var(--strong); }
  .bento__card:hover { border-color: var(--c); }
  .bento__card:hover::before { opacity: 1; }
  .bento__card:hover .bento__count::after { transform: translateX(4px); }
  .certs__card:hover { border-color: var(--accent); }
  .promo-card:hover .promo-card__cad { stroke: var(--band-accent); transform: scale(1.04); }
  .route-links a:hover { border-color: var(--accent); color: var(--accent-ink); }
  button.sku:hover { border-color: var(--accent); }
  .compare-toggle:hover { border-color: var(--accent); color: var(--ink); }
  .compare-toggle[aria-pressed="true"]:hover { color: var(--on-action); }
  .button.is-added:hover { border-color: var(--eco-ink); }
  .matrix th button:hover { color: #fff; background: var(--band-2); }
  .rfq-remove:hover { color: var(--danger); }
}

/* Pointer-driven filter changes bridge the swap. Typing never sets this class. */
.is-entering .product-card:nth-child(-n+8), .product-card.is-new { animation: card-in 240ms var(--ease-out) backwards; }
.is-entering .product-card:nth-child(2) { animation-delay: 30ms; }
.is-entering .product-card:nth-child(3) { animation-delay: 60ms; }
.is-entering .product-card:nth-child(4) { animation-delay: 90ms; }
.is-entering .product-card:nth-child(5) { animation-delay: 120ms; }
.is-entering .product-card:nth-child(6) { animation-delay: 150ms; }
.is-entering .product-card:nth-child(7) { animation-delay: 180ms; }
.is-entering .product-card:nth-child(8) { animation-delay: 210ms; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } }

::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

@media (max-width: 1240px) {
  .site-nav { gap: 14px; }
  .site-header__inner { gap: 14px; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: inline-grid; }
  .site-nav { display: none; position: absolute; inset: 100% 0 auto 0; flex-direction: column; gap: 0; padding: 6px 24px 12px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), display 180ms allow-discrete; }
  .site-nav.is-open { display: flex; opacity: 1; transform: none; }
  @starting-style { .site-nav.is-open { opacity: 0; transform: translateY(-8px); } }
  .site-nav a { display: flex; align-items: center; min-height: 44px; }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid > :first-child { grid-column: 1 / -1; }
  .bento__card--a { grid-column: span 12; }
  .bento__card--b { grid-column: span 12; grid-row: span 1; }
  .bento__card--b .bento__view { min-height: 380px; }
  .bento__card--c, .bento__card--d { grid-column: span 6; }
  .certs { grid-template-columns: 1fr 1fr; }
  .certs__intro { grid-column: 1 / -1; }
}
@media (max-width: 1239px) {
  .cat-deck { grid-template-columns: repeat(20, minmax(0, 1fr)); }
  .cat-card:nth-child(-n+5) { grid-column: span 4; }
  .cat-card:nth-child(n+6) { grid-column: span 5; }
}
@media (max-width: 1023px) {
  .hero__grid { display: flex; flex-direction: column; align-items: stretch; padding-block: 24px 28px; gap: 18px; }
  .hero__copy, .hero__media { width: 100%; min-width: 0; }
  .cad-stage__view { flex: none; min-height: 220px; height: 220px; }
  .hero h1 { max-width: none; }
  .cat-deck { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .cat-card:nth-child(n) { grid-column: auto; }
  /* Picture and count share the top row, so the title always has the card's full width. */
  .cat-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "view count" "label label"; align-items: center; gap: 8px; min-height: 112px; padding: 12px; text-align: left; }
  .cat-card__view { grid-area: view; width: 52px; height: 40px; }
  .cat-card small { grid-area: count; }
  .cat-card__label { grid-area: label; align-self: start; font-size: .875rem; line-height: 1.25; white-space: normal; word-break: normal; overflow-wrap: break-word; }
}
@media (max-width: 860px) {
  .hero__grid, .cnc, .logistics, .sheet__grid, .single-product__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .sheet__grid { gap: 0; }
  .hero__lead { margin-top: 10px; font-size: 0.95rem; line-height: 1.5; }
  .section { padding-block: 44px; }
}
@media (max-width: 767px) {
  body:has(.mobile-bar) { padding-bottom: 140px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border-hairline); background: var(--bg-glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 var(--border-specular); }
  .filters .filters__more { display: none; }
  /* The menu carries the phone, WhatsApp and e-mail links, so no bubble floats over the page. */
  .help-launcher, .help-panel { display: none !important; }
  .site-nav__help { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
  .site-nav__help a { min-height: 44px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); color: var(--ink); }
  .compare-bar { left: 12px; right: 12px; bottom: calc(68px + env(safe-area-inset-bottom, 0px)); z-index: 45; height: 48px; padding: 4px 6px 4px 14px; translate: none; justify-content: space-between; font-size: .8rem; }
  .compare-bar .button { min-height: 38px; }
  /* A slide from below would pass through the action bar, so it only fades here. */
  @starting-style { .compare-bar { opacity: 0; transform: none; } }
  .compare-bar[hidden] { transform: none; }
  body:has(.mobile-bar) .toast { inset: auto auto 126px 50%; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  :root { --header-h: 112px; }
  .site-header__inner { display: grid; grid-template-columns: 1fr auto auto auto; grid-template-rows: auto auto; align-items: center; gap: 8px 8px; padding-block: 8px; min-height: auto; }
  .brand { grid-column: 1; grid-row: 1; display: inline-flex; align-items: center; }
  .brand { gap: 7px; }
  .brand__mark { width: 25px; height: 27px; }
  .brand__name { font-size: 1rem; }
  .brand__tag { font-size: .5rem; letter-spacing: .1em; }
  .nav-toggle { grid-column: 2; grid-row: 1; width: 40px; height: 40px; }
  .theme-toggle { grid-column: 3; grid-row: 1; width: 40px; height: 40px; }
  .rfq-button { grid-column: 4; grid-row: 1; height: 40px; min-height: 40px; padding: 0 10px; margin: 0; }
  .rfq-button__label { font-size: 0; }
  .rfq-button__label::after { content: "Cerere"; font-size: .875rem; }
  .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; max-width: none; margin: 0; }
  .certs { grid-template-columns: minmax(0, 1fr); }
  .utility { font-size: clamp(0.66rem, 0.54rem + 0.55vw, 0.76rem); }
  .utility__inner { min-height: 38px; padding-block: 3px; padding-inline: 10px; justify-content: center; }
  .utility__factory { display: none !important; }
  .utility__badge { display: none !important; }
  .utility__contact { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; width: 100%; max-width: 100%; margin: 0; padding: 0; gap: 4px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .utility__contact::-webkit-scrollbar { display: none; }
  .utility__contact li { flex: none; display: inline-flex; align-items: center; }
  .utility__contact li:nth-child(-n+2)::after { content: "•"; color: var(--on-band-faint); margin-left: 6px; font-size: 0.65rem; opacity: 0.6; pointer-events: none; }
  .utility a { display: inline-flex; align-items: center; min-height: 38px; padding: 2px 3px; font-size: inherit; white-space: nowrap; letter-spacing: -0.015em; }
  .hero__badge { border-radius: 12px; font-size: .64rem; align-items: flex-start; }
  .hero__badge i { margin-top: 4px; }
  .quick-jump { width: 100%; max-width: 100%; min-width: 0; margin-top: 18px; padding: 8px; flex-direction: column; align-items: stretch; gap: 8px; box-sizing: border-box; overflow: hidden; }
  .quick-jump input { width: 100%; min-width: 0; height: 44px; padding: 8px 12px; background: var(--surface); box-sizing: border-box; font-size: .8rem; text-overflow: ellipsis; }
  .quick-jump input::placeholder { text-overflow: ellipsis; }
  .quick-jump button { width: 100%; height: 44px; border-radius: 8px; }
  .trim { display: none; }
  .hero__proof { grid-template-columns: 1fr 1fr; }
  .hero__proof-main { grid-column: 1 / -1; }
  .sku { min-height: 34px; padding-inline: 10px; }
  .rfq-list .sku { min-height: 22px; padding-inline: 8px; }
  .bento__card--a, .bento__card--b, .bento__card--c, .bento__card--d { grid-column: 1 / -1; flex-direction: column; }
  .bento__card--a .bento__view { order: 0; flex: 1 1 auto; margin: 10px 10px 0; min-height: 230px; }
  .bento__card--b .bento__view { min-height: 340px; }
  .bento__card--a .bento__body { flex: 0 0 auto; }
  .bento__subs button { min-height: 44px; padding-inline: 14px; }
  .cat-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-card:first-child { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "view label count"; min-height: 60px; height: 60px; padding-block: 8px; }
  .cat-card:first-child .cat-card__label { align-self: center; }
  .cad-stage { padding-inline: 10px; }
  .cad-stage__tabs button { min-height: 44px; }
  .cad-stage__head { flex-wrap: wrap; }
  .cad-stage__title { flex: 1 1 calc(100% - 50px); min-height: 42px; }
  .cad-stage__tabs button { font-size: .7rem; }
  .cad-stage__specs { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 52px; min-height: 107px; }
  .cad-stage__cta { order: 3; min-height: 44px; }
  .filters { display: flex; flex-direction: column; gap: 10px; padding: 12px; }
  .filters .field { flex: 0 0 auto; flex-basis: auto; width: 100%; height: auto; min-height: auto; }
  .filters .field--search { flex-grow: 0; }
  .filters .field--dims { flex: 0 0 auto; }
  .filters label.field > span { margin-bottom: 2px; }
  .filters .field input, .filters .field select { min-height: 44px; }
  .button.filters-toggle { display: none !important; }
  .site-footer__grid > :first-child { grid-column: auto; }
  .toggles { margin-left: 0; width: 100%; justify-content: space-between; }
  .sort-field { width: 100%; }
  .sort-field select { flex: 1; }
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-card__body .card-actions .button { min-height: 44px; }
  .product-card .compare-toggle { min-height: 36px; }
  .capabilities > div { grid-template-columns: 1fr; gap: 2px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .rfq-list > li { grid-template-columns: 56px minmax(0, 1fr); }
  .rfq-list img { width: 56px; height: 42px; }
  .caliper { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .caliper__wire { max-width: 170px; height: 90px; margin-inline: auto; }
  .presets { gap: 6px; }
  .presets button { min-height: 38px; padding: 4px 10px; }
  .rfq-line__controls { grid-column: 2; }
  .sheet { width: 100%; max-width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; opacity: 1; transform: translateY(100%); transition: transform 300ms var(--ease-drawer), overlay 300ms allow-discrete, display 300ms allow-discrete; }
  @starting-style { .sheet[open] { opacity: 1; transform: translateY(100%); } }
  .site-footer__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .promo-card { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .rfq-button__label::after { content: none; } /* Icon and count only. The accessible name stays. */
  .rfq-button { padding-inline: 10px; }
  .site-header__inner { gap: 8px; }
}
@media (max-width: 360px) {
  .theme-toggle { display: none; } /* The footer switch stays available. */
  .utility { font-size: 0.64rem; }
  .utility__contact { gap: 2px; }
  .utility__contact li:nth-child(-n+2)::after { margin-left: 4px; }
}
@media (max-width: 340px) {
  .brand__tag { display: none; }
  .utility { font-size: 0.61rem; }
}

/* Reduced motion keeps gentle fades, and removes movement and shimmer. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer, .sheet, .filter-sheet, .toast, .site-nav, .help-panel, .compare-bar { transform: none !important; }
  .drawer, .sheet { transition: opacity 150ms ease, overlay 150ms allow-discrete, display 150ms allow-discrete; }
  .sheet { opacity: 0; }
  .sheet[open] { opacity: 1; }
  @starting-style { .sheet[open] { opacity: 0; } }
  .hero__spot { display: none; }
  .odo__digit, .cat-card::after { transition: none; }
  .promo-card:hover .promo-card__cad { transform: none !important; }
  .bento__count::after { transform: none !important; }
  .cad-stage__view { transition: none; }
  .cad * { animation: none !important; }
  .cad-lift { transform: translateY(var(--lift)); }
  .cad-hinge { transform: var(--m4); }
  .cad-hinge--fold { transform: var(--m1); }
  .cad-scan, .cad-mill { transform: translate(calc((var(--fx) + var(--tx)) / 2), calc((var(--fy) + var(--ty)) / 2)); }
  .cad-dock { transform: translate(var(--tx), var(--ty)); }
  .cad-lock, .cad-pulse, .cad-pulse-sync { opacity: 1; }
  .cad-drift { opacity: 0; }
  .cad-wave { opacity: 0; }
  .is-entering .product-card:nth-child(-n+8), .product-card.is-new { animation: card-fade 150ms ease backwards; animation-delay: 0ms; }
  .skeleton i::after { animation: none; }
  .tabs::after { transition: none; }
  .theme-toggle svg, .studio img, .product-card .studio.product-card__media img { transition-property: opacity; }
  .product-card:hover, .product-card:hover .studio.product-card__media img { transform: none; }
  .button:active, .rfq-button:active, .quick-jump button:active, .theme-toggle:active, .cat-card:active, .bento__subs button:active, .cad-stage__cta:active, .icon-button:active, .nav-toggle:active, button.sku:active, .compare-toggle:active, .active-filters button:active, .help-launcher:active, .certs__card:active { transform: none; }
}
@keyframes card-fade { from { opacity: 0; } }
