/* ==========================================================================
   SS Insulation — site stylesheet
   Type: Archivo (display, expanded) · IBM Plex Sans (text) · IBM Plex Mono (data)
   ========================================================================== */
:root {
  --paper: #F3F5F8;
  --paper-2: #E8ECF2;
  --panel: #FFFFFF;
  --ink: #0B1230;
  --ink-2: #353F5E;
  --muted: #5F6984;
  --line: #D7DDE7;
  --line-2: #BEC7D6;
  --brand: #1C2FD1;
  --brand-2: #1424A8;
  --brand-soft: #E7EAFC;
  --btn: #1C2FD1;
  --btn-hover: #1424A8;
  --on-btn: #FFFFFF;
  --plate-a: #FFFFFF;
  --plate-b: #E4E9F0;
  --cryo: #2B7FD0;
  --heat: #E2601A;
  --ok: #157F3D;
  --warn: #A55A07;
  --bad: #B42318;
  --night: #060A1C;
  --night-2: #0C1332;
  --night-line: #1D2750;
  --night-ink: #E9EDF8;
  --night-muted: #97A1C2;
  --thermal: linear-gradient(90deg, #1B5FC4 0%, #3A8FD8 12%, #A7AFBD 22.5%, #E9B36A 36%, #E8782E 58%, #C8401A 80%, #7A1A10 100%);
  --shadow-1: 0 1px 2px rgba(11, 18, 48, .06), 0 8px 24px -12px rgba(11, 18, 48, .18);
  --radius: 3px;
  --maxw: 1280px;
  --gutter: clamp(16px, 4vw, 44px);
  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-text: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #070B1A; --paper-2: #0B1128; --panel: #0F1632; --ink: #E8ECF7; --ink-2: #BCC4DC; --muted: #8E98B6;
    --line: #1E2749; --line-2: #2C3764; --brand: #8C98FF; --brand-2: #B0B8FF; --brand-soft: #161E4C;
    --btn: #3446F0; --btn-hover: #4B5CFF; --on-btn: #FFFFFF; --plate-a: #1A2248; --plate-b: #0D1331;
    --cryo: #5AA6EC; --heat: #F08A4B; --ok: #4ACB7C; --warn: #F0B04B; --bad: #FF7B6E;
    --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #070B1A; --paper-2: #0B1128; --panel: #0F1632; --ink: #E8ECF7; --ink-2: #BCC4DC; --muted: #8E98B6;
  --line: #1E2749; --line-2: #2C3764; --brand: #8C98FF; --brand-2: #B0B8FF; --brand-soft: #161E4C;
  --btn: #3446F0; --btn-hover: #4B5CFF; --on-btn: #FFFFFF; --plate-a: #1A2248; --plate-b: #0D1331;
  --cryo: #5AA6EC; --heat: #F08A4B; --ok: #4ACB7C; --warn: #F0B04B; --bad: #FF7B6E;
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -12px rgba(0,0,0,.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute must win over component display rules (.pcard{display:flex} etc.),
   otherwise the product, market and search filters cannot hide anything. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-2); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--brand); color: #fff; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.04; letter-spacing: -.01em; margin: 0; text-wrap: balance; font-weight: 750; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 24px); font-stretch: 108%; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font: 500 12px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--thermal); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.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; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--btn); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: var(--btn); --b-fg: var(--on-btn); --b-bd: var(--btn);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bd); border-radius: var(--radius);
  font: 600 15px/1.2 var(--f-text); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn:hover { --b-bg: var(--btn-hover); --b-bd: var(--btn-hover); color: var(--b-fg); }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { --b-bg: transparent; --b-fg: var(--ink); --b-bd: var(--line-2); }
.btn-ghost:hover { --b-bg: var(--ink); --b-fg: var(--paper); --b-bd: var(--ink); }
.btn-sm { min-height: 38px; padding: 8px 14px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover .arr { transform: translateX(3px); }
.link-arrow .arr { transition: transform .2s; }

/* ---------- Header ---------- */
.site-header {
  --h-bg: color-mix(in srgb, var(--paper) 88%, transparent); --h-fg: var(--ink); --h-muted: var(--muted); --h-line: var(--line);
  position: sticky; top: 0; z-index: 50; background: var(--h-bg); color: var(--h-fg);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--h-line);
}
.site-header.tone-night { --h-bg: color-mix(in srgb, var(--night) 86%, transparent); --h-fg: var(--night-ink); --h-muted: var(--night-muted); --h-line: var(--night-line); }
.topbar { font: 500 12px/1 var(--f-mono); letter-spacing: .04em; color: var(--h-muted); border-bottom: 1px solid var(--h-line); }
.topbar .wrap { display: flex; gap: 24px; justify-content: space-between; align-items: center; min-height: 34px; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--h-fg); }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--h-fg); text-decoration: none; margin-inline-end: auto; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word b { font: 800 19px/1 var(--f-display); font-stretch: 125%; letter-spacing: .01em; }
.brand-word span { font: 500 9.5px/1 var(--f-mono); letter-spacing: .32em; color: var(--h-muted); margin-top: 5px; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 12px; color: var(--h-fg); text-decoration: none; font-weight: 500; font-size: 15px; border-radius: 2px; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--thermal); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.theme-toggle, .menu-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; background: transparent; color: var(--h-fg);
  border: 1px solid var(--h-line); border-radius: var(--radius); cursor: pointer;
}
.theme-toggle svg, .menu-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-grid; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 20px;
    background: var(--panel); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-1);
  }
  .site-header.tone-night .nav-links.open { background: var(--night-2); }
  .nav-links.open a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--h-line); }
  .nav-links.open a::after { display: none; }
}
@media (max-width: 640px) {
  .nav-cta .btn { display: none; }
  .topbar .tb-hide { display: none; }
  .brand-word b { font-size: 16px; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 56px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head p { color: var(--ink-2); max-width: 58ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.band { background: var(--paper-2); }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Hero (always night) ---------- */
.hero { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 55%, rgba(226, 96, 26, .16), transparent 60%),
    radial-gradient(50% 60% at 20% 0%, rgba(28, 47, 209, .28), transparent 65%),
    linear-gradient(180deg, #060A1C 0%, #081030 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(var(--night-line) 1px, transparent 1px), linear-gradient(90deg, var(--night-line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(80% 80% at 60% 40%, #000 20%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 24px; align-items: center; padding-block: clamp(40px, 6vw, 84px) clamp(28px, 4vw, 56px); }
.hero .eyebrow { color: var(--night-muted); }
.hero h1 { font-size: clamp(40px, 5.4vw, 80px); font-stretch: 110%; font-weight: 780; line-height: .96; letter-spacing: -.02em; margin-top: 22px; }
.hero h1 .cold { color: #8FC2F5; }
.hero h1 .hot { background: linear-gradient(90deg, #F6B26B, #F07A33 60%, #E2531A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #C4CBE2; margin-top: 24px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .btn-ghost { --b-fg: var(--night-ink); --b-bd: #36406A; }
.hero .btn-ghost:hover { --b-bg: var(--night-ink); --b-fg: var(--night); --b-bd: var(--night-ink); }
.hero .btn:not(.btn-ghost) { --b-bg: #2F43F2; --b-bd: #2F43F2; }
.hero .btn:not(.btn-ghost):hover { --b-bg: #4A5CFF; --b-bd: #4A5CFF; }
.hero-visual { position: relative; margin-inline-end: calc(-1 * var(--gutter)); display: flex; flex-direction: column; }
.hero-visual img { width: 100%; mask-image: linear-gradient(90deg, transparent 0%, #000 22%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--night-line); }
.hero-facts div { display: flex; flex-direction: column; gap: 2px; }
.hero-facts b { font: 700 22px/1.1 var(--f-display); font-stretch: 112%; }
.hero-facts span { font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 0 calc(-1 * var(--gutter)); }
}

/* Live readout card on hero */
.readout {
  position: relative; align-self: flex-end; margin-block-start: -18px; margin-inline-end: var(--gutter); width: min(360px, 100%);
  background: rgba(10, 16, 44, .78); border: 1px solid #2A3566; border-radius: var(--radius); padding: 16px 18px 14px;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--night-ink);
}
.readout .r-label { font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); display: flex; justify-content: space-between; gap: 8px; }
.readout .r-label i { font-style: normal; color: #F29A5E; }
.readout .r-case { font: 500 13px/1.4 var(--f-mono); margin-top: 8px; color: #C9D0E8; }
.readout .chips { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }
.readout .chips button {
  font: 500 12.5px/1 var(--f-mono); color: #C9D0E8; background: transparent; border: 1px solid #36416F; border-radius: 2px; padding: 7px 9px; cursor: pointer;
}
.readout .chips button[aria-pressed="true"] { background: #E9EDF8; color: #0B1230; border-color: #E9EDF8; }
.readout .r-out { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #2A3566; }
.readout .r-out b { display: block; font: 700 21px/1.1 var(--f-display); font-stretch: 110%; font-variant-numeric: tabular-nums; }
.readout .r-out span { font: 500 10px/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--night-muted); }
.readout a { color: #AFC0FF; font-size: 13px; display: inline-block; margin-top: 12px; }
@media (max-width: 560px) { .readout { width: auto; align-self: stretch; margin: 0 var(--gutter); } }

/* ---------- Thermal span chart ---------- */
.span-chart { position: relative; }
.span-axis { position: relative; height: 34px; margin-left: var(--span-label); }
.span-axis .tick { position: absolute; top: 0; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.span-axis .tick::after { content: ""; position: absolute; left: 50%; top: 18px; width: 1px; height: 8px; background: var(--line-2); }
.span-scale { height: 6px; border-radius: 1px; background: var(--thermal); margin-left: var(--span-label); }
.span-group { margin-top: 22px; }
.span-group h3 { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-stretch: 100%; }
.span-row { display: grid; grid-template-columns: var(--span-label) 1fr; align-items: center; min-height: 30px; text-decoration: none; color: var(--ink); border-radius: 2px; }
.span-row:hover { background: var(--brand-soft); }
.span-row .nm { font-size: 14px; font-weight: 500; padding-right: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.span-track { position: relative; height: 30px; background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: var(--grid-step, 10%) 100%; }
.span-bar { position: absolute; top: 9px; height: 12px; border-radius: 2px; background: var(--thermal); background-size: var(--full) 100%; box-shadow: 0 0 0 2px var(--paper); }
.band .span-bar { box-shadow: 0 0 0 2px var(--paper-2); }
.span-bar .rng { position: absolute; left: calc(100% + 8px); top: -2px; font: 500 11.5px/16px var(--f-mono); color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.span-row.flip .span-bar .rng { left: auto; right: calc(100% + 8px); }
.span-chart { --span-label: 250px; }
.span-zero { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--ink-2); opacity: .35; }
.span-note { font-size: 13px; color: var(--muted); margin-top: 16px; }
.span-probe { position: absolute; top: 34px; bottom: 0; width: 2px; background: var(--ink); pointer-events: none; }
.span-probe::before { content: attr(data-label); position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--paper); font: 600 12px/1 var(--f-mono); padding: 6px 8px; border-radius: 2px; white-space: nowrap; }
.span-row.dim { opacity: .28; }
@media (max-width: 720px) {
  .span-chart { --span-label: 0px; }
  .span-row { grid-template-columns: 1fr; padding-top: 6px; }
  .span-row .nm { font-size: 13px; }
  .span-bar .rng { display: none; }
}

/* ---------- Category bento ---------- */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat {
  grid-column: span 2; position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 24px; overflow: hidden;
  background: linear-gradient(160deg, var(--plate-a), var(--plate-b)); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: border-color .2s, transform .25s;
}
.cat:hover { border-color: var(--brand); color: var(--ink); }
.cat.big { grid-column: span 3; min-height: 420px; }
.cat .c-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; position: relative; z-index: 1; }
.cat h3 { font-size: clamp(22px, 2.2vw, 30px); }
.cat .count { font: 500 12px/1 var(--f-mono); color: var(--muted); border: 1px solid var(--line-2); padding: 6px 8px; border-radius: 2px; white-space: nowrap; }
.cat p { color: var(--ink-2); font-size: 15px; margin-top: 10px; max-width: 36ch; position: relative; z-index: 1; }
.cat .c-range { margin-top: 14px; font: 500 12.5px/1 var(--f-mono); color: var(--ink-2); display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; }
.cat .c-range i { display: block; width: 64px; height: 4px; border-radius: 1px; background: var(--thermal); background-size: 400% 100%; }
.cat .c-go { margin-top: auto; position: relative; z-index: 1; font-weight: 600; color: var(--brand); display: inline-flex; gap: 8px; }
/* Product shot sits in its own strip under the copy — never over it. */
.cat img {
  display: block; width: calc(100% + 48px); max-width: none; margin: 18px -24px -24px; height: 172px;
  object-fit: contain; object-position: center; padding: 10px 18px;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.cat.big img { height: 215px; }
.cat:hover img { transform: translateY(-5px) scale(1.02); }
@media (max-width: 960px) { .cat, .cat.big { grid-column: span 3; } }
@media (max-width: 620px) { .cats { grid-template-columns: 1fr; } .cat, .cat.big { grid-column: auto; min-height: 320px; } .cat img, .cat.big img { width: 70%; } }

/* ---------- Product cards / catalogue ---------- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pcard {
  display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.pcard:hover { border-color: var(--brand); box-shadow: var(--shadow-1); color: var(--ink); }
.pcard .pimg { aspect-ratio: 4 / 3; background: radial-gradient(90% 90% at 50% 30%, var(--plate-a), var(--plate-b)); display: grid; place-items: center; overflow: hidden; }
.pcard .pimg img { width: 100%; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pimg img { transform: scale(1.04); }
.pcard .pbody { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard .pcat { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard h3 { font-size: 19px; }
.pcard .psub { font-size: 14px; color: var(--ink-2); }
.pcard .pmeta { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font: 500 12px/1 var(--f-mono); padding: 6px 8px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.chip.t { border-color: transparent; background: var(--paper-2); }
.mini-range { height: 4px; border-radius: 1px; background: var(--line); position: relative; margin-top: 4px; }
.mini-range i { position: absolute; top: 0; bottom: 0; border-radius: 1px; background: var(--thermal); }
.mini-range-lbl { display: flex; justify-content: space-between; font: 500 11.5px/1 var(--f-mono); color: var(--muted); margin-top: 6px; }

.finder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; padding: 24px; }
.finder .f-temp { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.finder .f-temp output { font: 750 clamp(40px, 5vw, 64px)/1 var(--f-display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.finder .f-verdict { font-size: 15px; color: var(--ink-2); }
.range-input { width: 100%; margin-top: 18px; appearance: none; -webkit-appearance: none; height: 10px; border-radius: 2px; background: var(--thermal); outline-offset: 6px; }
.range-input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--panel); border: 3px solid var(--ink); box-shadow: 0 2px 8px rgba(0,0,0,.25); cursor: grab; }
.range-input::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--panel); border: 3px solid var(--ink); cursor: grab; }
.range-scale { display: flex; justify-content: space-between; font: 500 11px/1 var(--f-mono); color: var(--muted); margin-top: 10px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.seg button { font: 500 13px/1 var(--f-mono); padding: 10px 12px; background: transparent; color: var(--ink-2); border: 0; cursor: pointer; }
.seg button + button { border-left: 1px solid var(--line-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-block: 24px 20px; }
.filters .fchip { font: 500 14px/1 var(--f-text); padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--panel); color: var(--ink-2); cursor: pointer; }
.filters .fchip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filters .fchip small { font-family: var(--f-mono); opacity: .7; margin-left: 4px; }
.search { margin-inline-start: auto; position: relative; min-width: min(280px, 100%); }
.search input { width: 100%; height: 42px; padding-block: 0; padding-inline: 38px 12px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); color: var(--ink); font: 400 15px var(--f-text); }
.search svg { position: absolute; inset-inline-start: 12px; top: 12px; width: 18px; height: 18px; color: var(--muted); }
.empty { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-2); border-radius: var(--radius); }
@media (max-width: 720px) { .finder { grid-template-columns: 1fr; } .search { margin-left: 0; width: 100%; } }

/* ---------- Product detail (datasheet) ---------- */
.crumbs { font: 500 12.5px/1.4 var(--f-mono); color: var(--muted); padding-block: 22px 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.pd-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding-block: 28px clamp(40px, 5vw, 72px); align-items: start; }
.pd-plate { position: sticky; top: 124px; background: radial-gradient(90% 90% at 50% 30%, var(--plate-a), var(--plate-b)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.pd-plate img { width: 100%; }
.pd-plate .stencil { position: absolute; inset-inline-start: 16px; top: 16px; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; color: var(--muted); border: 1.5px solid var(--line-2); padding: 7px 9px; border-radius: 2px; background: color-mix(in srgb, var(--panel) 70%, transparent); }
.pd-plate .note { position: absolute; inset-inline-end: 14px; bottom: 12px; font: 400 11px/1.2 var(--f-mono); color: var(--muted); }
.pd-info h1 { font-size: clamp(34px, 4.4vw, 58px); margin-top: 14px; }
.pd-info .sub { font: 500 15px/1.4 var(--f-mono); color: var(--muted); margin-top: 12px; }
.pd-info .lead { margin-top: 20px; }
.keyfig { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-top: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.keyfig div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.keyfig span { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.keyfig b { display: block; overflow-wrap: anywhere; font: 700 19px/1.2 var(--f-display); font-stretch: 108%; margin-top: 6px; font-variant-numeric: tabular-nums; }
.pd-range { margin-top: 26px; }
.pd-range .lbl { display: flex; justify-content: space-between; font: 500 12px/1 var(--f-mono); color: var(--muted); margin-bottom: 10px; }
.pd-range .bar { position: relative; height: 10px; background: var(--line); border-radius: 2px; }
.pd-range .bar i { position: absolute; top: 0; bottom: 0; background: var(--thermal); border-radius: 2px; }
.pd-range .ticks { position: relative; height: 18px; margin-top: 6px; }
.pd-range .ticks span { position: absolute; transform: translateX(-50%); font: 500 10.5px/1 var(--f-mono); color: var(--muted); }
.pd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hl { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.hl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--ink-2); }
.hl li::before { content: ""; width: 12px; height: 12px; margin-top: 6px; border: 2px solid var(--brand); border-radius: 1px; transform: rotate(45deg); }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: start; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; font: 500 12.5px/1.5 var(--f-mono); letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.spec td { font-variant-numeric: tabular-nums; }
.spec tr:hover td, .spec tr:hover th { background: var(--paper-2); }
.ds { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 20px 48px; padding-block: 36px; border-top: 1px solid var(--line); }
.ds > h2 { font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-stretch: 100%; padding-top: 14px; }
.ds .ds-body { min-width: 0; }
.ds .ds-body p { max-width: 66ch; color: var(--ink-2); }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.hsn-box { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: baseline; padding: 18px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); }
.hsn-box b { font: 600 26px/1 var(--f-mono); letter-spacing: .06em; }
.hsn-box small { color: var(--muted); font-size: 13px; grid-column: 1 / -1; }
@media (max-width: 900px) { .pd-top { grid-template-columns: 1fr; } .pd-plate { position: relative; top: 0; } .ds { grid-template-columns: 1fr; } .ds > h2 { padding-top: 0; } }

/* ---------- Tables (scroll containers) ---------- */
.tscroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.tscroll table { min-width: 640px; }
.cmp { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cmp th, .cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.cmp thead th { font: 500 11.5px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--paper-2); position: sticky; top: 0; }
.cmp td.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.cmp tbody tr:hover { background: var(--brand-soft); }
.cmp a { font-weight: 600; text-decoration: none; }

/* ---------- Generic grids ---------- */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.tile { padding: 26px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 10px; }
.tile p { color: var(--ink-2); font-size: 15px; }
.tile .t-ico { width: 40px; height: 40px; color: var(--brand); }
.tile .t-links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tile .t-links a { font: 500 12.5px/1 var(--f-mono); padding: 6px 8px; border-radius: 2px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.tile .t-links a:hover { background: var(--brand-soft); color: var(--brand); }

/* ---------- Process (true sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.steps li { padding-block: 20px 8px; padding-inline: 0 18px; position: relative; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 13px/1 var(--f-mono); color: var(--brand); display: block; margin-bottom: 14px; }
.steps li::after { content: ""; position: absolute; top: -7px; inset-inline-start: 0; width: 12px; height: 12px; background: var(--paper); border: 2px solid var(--ink); border-radius: 50%; }
.band .steps li::after { background: var(--paper-2); }
.steps h3 { font-size: 18px; }
.steps p { font-size: 14.5px; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); padding-left: 22px; } .steps li::after { left: -30px; top: 20px; } .steps li { padding-top: 16px; } }

/* ---------- Export globe ---------- */
.export-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.globe { width: 100%; aspect-ratio: 1; max-width: 560px; margin-inline: auto; }
.globe svg { width: 100%; height: 100%; display: block; }
.ports { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin-top: 24px; }
.ports div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ports span { font: 500 12px/1.6 var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .export-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ports { grid-template-columns: 1fr; } }

/* ---------- Standards strip ---------- */
.stds { display: flex; flex-wrap: wrap; gap: 8px; }
.stds span { font: 500 13px/1 var(--f-mono); padding: 9px 11px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink-2); background: var(--panel); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding-block: 20px; padding-inline: 0 44px; position: relative; font: 600 17px/1.4 var(--f-text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; inset-inline-end: 6px; top: 16px; font: 400 26px/1 var(--f-mono); color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: var(--ink-2); max-width: 72ch; }
.faq .a p + p { margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--night); color: var(--night-ink); position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 90% at 90% 50%, rgba(226,96,26,.22), transparent 70%), radial-gradient(40% 80% at 0% 100%, rgba(28,47,209,.35), transparent 70%); }
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; padding-block: clamp(48px, 7vw, 88px); }
.cta-band h2 { font-size: clamp(30px, 4vw, 50px); }
.cta-band p { color: #C4CBE2; margin-top: 14px; max-width: 58ch; }
.cta-band .btn { --b-bg: #2F43F2; --b-bd: #2F43F2; }
.cta-band .btn-ghost { --b-bg: transparent; --b-fg: var(--night-ink); --b-bd: #36406A; }
.cta-band .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.phero { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.phero h1 { font-size: clamp(38px, 5.6vw, 76px); margin-top: 18px; max-width: 18ch; }
.phero .lead { margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-muted); font-size: 14.5px; }
.site-footer a { color: var(--night-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.f-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-block: 64px 40px; }
.f-grid h4 { font: 500 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); margin-bottom: 16px; font-stretch: 100%; }
.f-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.f-brand .brand { color: var(--night-ink); }
.f-brand .brand-word span { color: var(--night-muted); }
.f-brand address { font-style: normal; margin-top: 18px; line-height: 1.7; }
.f-brand p { margin-top: 16px; max-width: 42ch; }
.f-bottom { border-top: 1px solid var(--night-line); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font: 500 12px/1.5 var(--f-mono); }
.f-thermal { height: 4px; background: var(--thermal); }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field label, .field .lbl { font: 500 12px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--heat); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: var(--panel); color: var(--ink); font: 400 15.5px/1.4 var(--f-text);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: var(--brand); }
.field .hint { font-size: 12.5px; color: var(--muted); }
.form-status { grid-column: 1 / -1; font-size: 15px; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.form-status.err { background: color-mix(in srgb, var(--bad) 10%, transparent); color: var(--bad); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); }
@media (max-width: 620px) { .form { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-card { padding: 26px; display: grid; gap: 18px; }
.contact-card h3 { font-size: 20px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font: 500 11.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-card dd { margin: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Calculators ---------- */
.calc-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.calc-nav { position: sticky; top: 124px; display: grid; gap: 4px; }
.calc-nav button {
  text-align: start; display: grid; gap: 3px; padding: 14px 16px; border: 1px solid transparent; border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; font: 600 15.5px/1.3 var(--f-text);
}
.calc-nav button small { font: 400 13px/1.4 var(--f-text); color: var(--muted); }
.calc-nav button:hover { background: var(--panel); border-color: var(--line); }
.calc-nav button[aria-selected="true"] { background: var(--panel); border-color: var(--ink); box-shadow: inset 3px 0 0 var(--brand); }
.calc { display: none; }
.calc.active { display: block; }
.calc-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.calc-head { padding: 24px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-start; }
.calc-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.calc-head p { color: var(--ink-2); font-size: 15px; margin-top: 8px; max-width: 64ch; }
.calc-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.calc-in { padding: 24px 26px; border-right: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 16px; align-content: start; }
.calc-in .full { grid-column: 1 / -1; }
.calc-in .field input, .calc-in .field select { min-height: 44px; font-family: var(--f-mono); font-size: 15px; }
.calc-in .field select { font-family: var(--f-text); }
.calc-out { padding: 24px 26px; background: var(--paper-2); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.calc-out .big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.calc-out .big div { background: var(--panel); padding: 16px; }
.calc-out .big span { display: block; font: 500 10.5px/1.3 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.calc-out .big b { display: block; font: 750 30px/1.1 var(--f-display); font-stretch: 108%; margin-top: 8px; font-variant-numeric: tabular-nums; }
.calc-out .big b small { font: 500 13px var(--f-mono); color: var(--muted); margin-left: 4px; }
.calc-out .big .hot b { color: var(--heat); }
.calc-out .big .cold b { color: var(--cryo); }
.bom { width: 100%; border-collapse: collapse; font-size: 14px; }
.bom th, .bom td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.bom td:last-child, .bom th:last-child { text-align: end; font-family: var(--f-mono); font-variant-numeric: tabular-nums; white-space: nowrap; padding-inline-start: 12px; }
.bom th { font: 500 11px/1.3 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bom td small { display: block; color: var(--muted); font-size: 12.5px; }
.calc-note { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.calc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius); font-size: 14.5px; border: 1px solid; }
.verdict svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.verdict.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.verdict.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn) 9%, transparent); }
.verdict.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.verdict b { color: var(--ink); }
.xsec { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; }
.xsec svg { width: 120px; height: 120px; }
.xsec p { font-size: 13.5px; color: var(--ink-2); }
.chart { position: relative; }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .ch-title { font: 600 13.5px/1.3 var(--f-text); margin-bottom: 6px; color: var(--ink); }
.chart .ch-title span { font: 500 12px var(--f-mono); color: var(--muted); margin-left: 6px; }
.chart .tip { position: absolute; pointer-events: none; background: var(--ink); color: var(--paper); font: 500 12px/1.4 var(--f-mono); padding: 7px 9px; border-radius: 2px; white-space: nowrap; transform: translate(-50%, -110%); opacity: 0; transition: opacity .1s; }
.chart .tip.show { opacity: 1; }
.lines-table { width: 100%; border-collapse: collapse; }
.lines-table td { padding: 8px 6px 8px 0; vertical-align: bottom; border-bottom: 1px solid var(--line); }
.lines-table select, .lines-table input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel); color: var(--ink); font: 400 14px var(--f-text); }
.lines-table input { font-family: var(--f-mono); }
.lines-table .rm { width: 36px; height: 40px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); border-radius: var(--radius); cursor: pointer; font-size: 18px; }
.box-lines { grid-column: 1 / -1; overflow-x: auto; }
.box-lines table { min-width: 560px; }
.cont-opts { display: grid; gap: 10px; }
.cont { padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.cont.best { border-color: var(--brand); box-shadow: inset 3px 0 0 var(--brand); }
.cont .c-h { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; }
.cont .c-h b { font: 700 18px/1 var(--f-display); font-stretch: 108%; }
.cont .c-h em { font: 500 11px/1.8 var(--f-mono); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.meter { display: grid; grid-template-columns: 60px 1fr 48px; gap: 10px; align-items: center; margin-top: 10px; font: 500 12px/1 var(--f-mono); color: var(--muted); }
.meter i { display: block; height: 8px; background: var(--line); border-radius: 1px; position: relative; overflow: hidden; }
.meter i s { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink-2); text-decoration: none; }
.meter .v { text-align: right; color: var(--ink); }
.calc-body.stack { grid-template-columns: 1fr; }
.calc-body.stack .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
.calc-body.stack .cont-opts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 1060px) { .calc-body { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 860px) {
  .calc-shell { grid-template-columns: 1fr; }
  .calc-nav { position: relative; top: 0; grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; padding-bottom: 6px; }
  .calc-nav button small { display: none; }
}
@media (max-width: 480px) { .calc-in { grid-template-columns: 1fr; } .calc-out .big b { font-size: 24px; } }

/* ---------- Misc ---------- */
.prose { max-width: 70ch; color: var(--ink-2); }
.prose p + p { margin-top: 14px; }
.prose h3 { color: var(--ink); margin: 32px 0 10px; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.kv div { background: var(--panel); padding: 20px; }
.kv b { display: block; font: 750 clamp(26px, 3vw, 38px)/1 var(--f-display); font-stretch: 112%; font-variant-numeric: tabular-nums; }
.kv span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #1FAF55; color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 28px; height: 28px; }
.reveal { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.reveal.d1 { animation-delay: .08s; } .reveal.d2 { animation-delay: .16s; } .reveal.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ---------- Print: product pages print as a clean datasheet ---------- */
@media print {
  :root { --paper: #fff; --panel: #fff; --ink: #000; --ink-2: #222; --muted: #555; --line: #ccc; --line-2: #aaa; --plate-a: #fff; --plate-b: #fff; }
  .site-header, .site-footer, .cta-band, .pd-actions, .wa-float, .crumbs, .no-print { display: none !important; }
  .pd-top { grid-template-columns: 1fr 1fr; padding: 0; }
  .pd-plate { position: static; border: 0; }
  .ds { break-inside: avoid; padding-block: 16px; grid-template-columns: 180px 1fr; }
  .print-head { display: flex !important; }
  body { font-size: 12px; }
}
.print-head { display: none; justify-content: space-between; align-items: center; border-bottom: 2px solid #000; padding-bottom: 8px; margin-bottom: 16px; font: 500 11px var(--f-mono); }

/* ---------- Globe ---------- */
.g-s0 { stop-color: var(--plate-a); }
.g-s1 { stop-color: var(--plate-b); }
.g-sphere { stroke: none; }
.g-grat { fill: none; stroke: var(--line-2); stroke-width: .6; opacity: .75; }
.g-arc { fill: none; stroke: var(--brand); stroke-width: 1.3; stroke-dasharray: 4 5; animation: lane 14s linear infinite; }
.g-port { fill: var(--panel); stroke: var(--brand); stroke-width: 2; }
.g-origin { fill: var(--heat); }
.g-pulse { fill: none; stroke: var(--heat); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
.g-lbl { font: 500 11px var(--f-mono); fill: var(--ink-2); paint-order: stroke; stroke: var(--paper); stroke-width: 3px; stroke-linejoin: round; }
.band .g-lbl { stroke: var(--paper-2); }
.g-lbl-o { fill: var(--heat); font-weight: 600; }
.g-rim { fill: none; stroke: var(--line-2); stroke-width: 1; }
@keyframes lane { to { stroke-dashoffset: -180; } }
@keyframes pulse { 0% { transform: scale(.7); opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }


/* ---------- Language switcher ---------- */
.lang-sw { position: relative; }
.lang-sw summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border: 1px solid var(--h-line); border-radius: var(--radius); cursor: pointer; font: 600 12.5px/1 var(--f-mono); color: var(--h-fg); }
.lang-sw summary::-webkit-details-marker { display: none; }
.lang-sw summary svg { width: 17px; height: 17px; }
.lang-sw ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 70; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-1); }
.lang-sw a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; border-radius: 2px; font-size: 15px; }
.lang-sw a:hover { background: var(--brand-soft); }
.lang-sw a[aria-current="true"] { font-weight: 600; box-shadow: inset 3px 0 0 var(--brand); }
.f-langs { display: flex; flex-wrap: wrap; gap: 6px 4px; padding-block: 0 18px; font-size: 14px; color: var(--night-muted); }

/* ---------- Utilities ---------- */
.mt { margin-top: 18px; } .mt-s { margin-top: 10px; } .small { font-size: 14px; } .ink { color: var(--ink); }
.wide-gap { gap: clamp(24px, 5vw, 72px); align-items: start; }
.wrapcell { white-space: normal !important; min-width: 220px; }
.tscroll.plain { border: 0; background: transparent; }
.tscroll.plain table { min-width: 0; }
.count-line { font-size: 14px; margin-bottom: 14px; }
.f-side { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.chk { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--ink-2); }
.form { padding: clamp(20px, 3vw, 32px); }
.form-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.form-foot .hint { font-size: 13px; }
.rfq-list { border-top: 1px solid var(--line); padding-top: 16px; }
.rfq-list h3 { font-size: 17px; }
.rfq-list .hl { margin-top: 12px; font-size: 14.5px; }
.noborder { border: 0; }
.sub-h { font-size: 13px; font-family: var(--f-mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-stretch: 100%; }
.faq-head { align-items: start; }
.aka { font-size: 14px; color: var(--ink-2); margin-top: 14px; }
.aka span { font: 500 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile-link { text-decoration: none; color: inherit; }
.tile-link .link-arrow { margin-top: auto; color: var(--brand); }
.tile-night { background: var(--night); color: var(--night-ink); border-color: var(--night-line); }
.tile-night .eyebrow { color: var(--night-muted); }
.tile-night p { color: #C4CBE2; }
.tile-night .btn { margin-top: auto; align-self: flex-start; --b-bg: #2F43F2; --b-bd: #2F43F2; }
.charts { gap: 14px; }
.li-ico { width: 18px; height: 18px; flex: none; color: var(--brand); vertical-align: -3px; }
.li-ico.big { width: 30px; height: 30px; }
.plain-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.plain-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.ct-foot { display: flex; gap: 10px; flex-wrap: wrap; align-items: end; }
.lines-table th { text-align: start; font: 500 11px var(--f-mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding-bottom: 6px; }
.lines-table .c-prod { min-width: 200px; } .lines-table .c-size { width: 110px; } .lines-table .c-thk { width: 100px; } .lines-table .c-qty { width: 130px; }
.lines-table .c-unit { width: 64px; font: 500 12px var(--f-mono); color: var(--muted); } .lines-table .c-rm { width: 40px; }

/* ---------- Markets ---------- */
.mk-strip { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-strip a { padding: 9px 13px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--panel); color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.mk-strip a:hover { border-color: var(--brand); color: var(--brand); }
.mk-strip a.more { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.mk-strip.small a { padding: 7px 10px; font-size: 14px; }
.region-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; position: sticky; top: 108px; z-index: 5; background: var(--paper); padding-block: 10px; }
.region-nav a { font: 500 13px/1 var(--f-mono); padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--ink-2); text-decoration: none; background: var(--panel); }
.region-nav a:hover { border-color: var(--brand); color: var(--brand); }
.mk-region { padding-block: 26px; border-top: 1px solid var(--line); scroll-margin-top: 170px; }
.mk-region h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 18px; }
.mk-region h2 small { font: 500 14px var(--f-mono); color: var(--muted); margin-inline-start: 8px; }
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.mcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.mcard[hidden] { display: none; }
.mcard:hover { border-color: var(--brand); }
.mc-h { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.mc-h b { font: 700 18px/1.2 var(--f-display); font-stretch: 106%; }
.mc-h:hover b { color: var(--brand); }
.mcard p { font-size: 13.5px; color: var(--muted); }
.mc-cities { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-cities a { font: 500 12px/1 var(--f-mono); padding: 6px 8px; border-radius: 2px; background: var(--paper-2); color: var(--ink-2); text-decoration: none; }
.mc-cities a:hover { background: var(--brand-soft); color: var(--brand); }
.lang-tag { font: 600 10px/1 var(--f-mono); letter-spacing: .08em; padding: 4px 5px; border: 1px solid var(--line-2); border-radius: 2px; color: var(--muted); }
.mk-search { margin-top: 24px; margin-inline-start: 0; max-width: 420px; }
.mk-hero h1 { max-width: 22ch; }
.city-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-list li { font-size: 15px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--panel); }
.city-list a { font-weight: 600; text-decoration: none; }
.clim { padding: 22px; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; }
.clim p { color: var(--ink-2); margin-top: 10px; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 12px; }
.rec { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.rec:hover { border-color: var(--brand); }
.rec-img { display: block; border-radius: 2px; overflow: hidden; background: radial-gradient(90% 90% at 50% 30%, var(--plate-a), var(--plate-b)); }
.rec-b { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.rec-b b { font: 700 16px/1.2 var(--f-display); font-stretch: 104%; }
.rec-b small { font-size: 13.5px; color: var(--brand); }
.rec-meta { font: 500 11.5px/1.3 var(--f-mono); color: var(--muted); }
.cat-table tr.grp th { background: var(--paper-2); font: 600 12px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.aka-cell { color: var(--muted); font-size: 13.5px; }
.allp { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.allp-g h3 { font-size: 16px; margin-bottom: 10px; }

/* ---------- RTL & script-specific type ---------- */
html[lang="ar"] { --f-display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; --f-text: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] body * { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-stretch: 100%; line-height: 1.3; font-weight: 700; }
html[lang="ar"] .eyebrow, html[lang="ar"] .sub-h, html[lang="ar"] .field label, html[lang="ar"] .keyfig span, html[lang="ar"] .pcat, html[lang="ar"] .spec th, html[lang="ar"] .cmp thead th, html[lang="ar"] .hero-facts span, html[lang="ar"] .readout .r-label, html[lang="ar"] .ds > h2, html[lang="ar"] .f-grid h4, html[lang="ar"] .calc-out .big span { font-family: var(--f-text); text-transform: none; font-size: 13px; }
html[lang="ar"] .lead { line-height: 1.85; }
html[lang="ru"] { --f-display: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; }
html[lang="ru"] h1, html[lang="ru"] h2, html[lang="ru"] h3 { font-stretch: 100%; font-weight: 600; letter-spacing: -.015em; }
[dir="rtl"] .lang-sw a[aria-current="true"] { box-shadow: inset -3px 0 0 var(--brand); }
[dir="rtl"] .calc-nav button[aria-selected="true"] { box-shadow: inset -3px 0 0 var(--brand); }
[dir="rtl"] .cont.best { box-shadow: inset -3px 0 0 var(--brand); }
[dir="rtl"] .hl li::before { margin-top: 8px; }
[dir="rtl"] .span-chart .nm { text-align: left; }
[dir="rtl"] .steps li::before { direction: ltr; }
@media (max-width: 560px) { [dir="rtl"] .steps { border-left: 0; border-right: 2px solid var(--ink); padding-left: 0; padding-right: 22px; } [dir="rtl"] .steps li::after { left: auto; right: -30px; } }

/* ==========================================================================
   Product showcase — auto-rotating, replaces the old temperature span chart
   ========================================================================== */
.showcase { margin-top: 28px; }
.sc-stage {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--plate-a), var(--plate-b));
}
.sc-slide {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; align-items: center;
  padding: 32px 36px; min-height: 380px;
  animation: sc-in .55s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes sc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sc-shot { display: grid; place-items: center; min-width: 0; }
.sc-shot img { width: 100%; max-width: 560px; height: auto; max-height: 320px; object-fit: contain; animation: sc-shot .7s cubic-bezier(.2,.7,.2,1) both; }
@keyframes sc-shot { from { opacity: 0; transform: scale(.94) translateY(8px); } to { opacity: 1; transform: none; } }
.sc-text { min-width: 0; }
.sc-text h3 { font-size: clamp(24px, 2.6vw, 36px); margin-top: 10px; line-height: 1.1; }
.sc-text > p { color: var(--ink-2); margin-top: 10px; font-size: 16px; }
.sc-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 22px; }
.sc-meta span {
  font: 500 12.5px/1 var(--f-mono); color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 2px; padding: 7px 9px; background: var(--panel);
}
.sc-bar { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--line); }
.sc-bar i { display: block; height: 100%; width: 0; background: var(--thermal); background-size: 300% 100%; }
.showcase.is-playing .sc-bar i { animation: sc-fill 5.2s linear forwards; }
@keyframes sc-fill { from { width: 0; } to { width: 100%; } }

.sc-rail { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.sc-dot {
  flex: 0 0 auto; width: 92px; height: 70px; padding: 6px; cursor: pointer;
  background: linear-gradient(160deg, var(--plate-a), var(--plate-b));
  border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center;
  transition: border-color .2s, transform .2s, opacity .2s; opacity: .62;
}
.sc-dot img { width: 100%; height: 100%; object-fit: contain; }
.sc-dot:hover { opacity: 1; transform: translateY(-2px); }
.sc-dot.is-on { opacity: 1; border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
@media (max-width: 860px) {
  .sc-slide { grid-template-columns: 1fr; padding: 24px 20px; min-height: 0; gap: 18px; }
  .sc-shot { order: -1; }
  .sc-shot img { max-height: 220px; }
  .sc-dot { width: 74px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .sc-slide, .sc-shot img { animation: none; }
  .showcase.is-playing .sc-bar i { animation: none; width: 100%; }
}

/* Product photography sits on a clean white plate in both themes, so a shot's
   own studio background never reads as a grey box floating on the card. */
.pcard .pimg { background: #FFFFFF; }
.pcard .pimg img { object-fit: contain; padding: 6px; }
.sc-shot { background: #FFFFFF; border-radius: 8px; padding: 16px; width: 100%; }
.sc-dot { background: #FFFFFF; }
.cat img { background: #FFFFFF; border-radius: 8px; }
.pd-plate { background: #FFFFFF !important; }
.pd-plate img { object-fit: contain; }

/* ==========================================================================
   Company logo — real artwork, with a light-ink variant for dark surfaces
   ========================================================================== */
.brand { gap: 14px; align-items: center; }
.brand-logo { display: block; width: auto; height: 38px; flex: none; }
.brand-tag {
  font: 500 9.5px/1 var(--f-mono); letter-spacing: .3em; color: var(--h-muted);
  align-self: center; padding-inline-start: 12px; border-inline-start: 1px solid var(--line-2);
  white-space: nowrap;
}
/* The artwork has a black star, so on dark bands it sits on a white plate
   rather than being recoloured — the logo itself is never altered. */
.tone-night .brand-logo, .f-brand .brand-logo,
:root[data-theme="dark"] .brand-logo {
  background: #FFFFFF; border-radius: 6px; padding: 6px 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo {
    background: #FFFFFF; border-radius: 6px; padding: 6px 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  }
}
.f-brand .brand-tag { color: var(--night-muted); border-inline-start-color: rgba(255,255,255,.18); }
.tone-night .brand-tag { color: var(--h-muted); border-inline-start-color: rgba(255,255,255,.2); }
.f-brand .brand-logo { height: 40px; }
@media (max-width: 1100px) { .brand-tag { display: none; } }
@media (max-width: 620px) { .brand-logo { height: 30px; } }

/* Header fit — the real logo is wider than the old mark, so the menu gets
   the room it needs instead of wrapping or sliding under the brand. */
.site-header .brand { flex: none; }
.nav-links a { white-space: nowrap; }
@media (max-width: 1800px) and (min-width: 1241px) {
  .site-header .nav { gap: 16px; }
  .site-header .brand-tag { display: none; }
  .nav-links { gap: 0; }
  .nav-links a { padding: 10px 9px; font-size: 14.5px; }
  .nav-links a::after { left: 9px; right: 9px; }
}
.nav-cta, .nav-cta .btn, .lang-sw summary { white-space: nowrap; flex: none; }

/* Mobile top bar: buyers on phones call or WhatsApp, so the number shows
   there; the email stays one tap away in the footer and on Contact. */
@media (max-width: 640px) {
  .topbar .tb-right a[href^="tel:"] { display: inline; }
}
@media (max-width: 520px) {
  .topbar .tb-right a[href^="mailto:"] { display: none; }
}

/* Keep the thumbnail rail scrolling inside itself: as a grid/flex child its
   min-width defaulted to its content, which widened the page on phones. */
.showcase, .sc-stage, .sc-rail { min-width: 0; max-width: 100%; }
.sc-rail, .sc-dot { position: relative; }  /* contain the absolutely-positioned sr-only labels */
