/* Gulf Micro Systems — online product list. Brand: Navy #0E406B, Orange #E94F28 (Brand/brand-guide.md) */
:root {
  --navy: #0E406B;
  --navy-deep: #0B1118;
  --navy-mid: #0A2F50;
  --orange: #E94F28;
  --orange-hot: #FF6600;
  --tint: #EEF5FB;
  --ink: #1C1C1C;
  --muted: #5B6573;
  --line: #DCE4EC;
  --card: #FFFFFF;
  --bg: #F5F8FB;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14, 64, 107, .06), 0 6px 18px rgba(14, 64, 107, .07);
  --head: "Montserrat", "Arial Black", Arial, sans-serif;
  /* Phones use their own text font (nothing to download); Inter comes in from 560px up. Headlines are Montserrat everywhere. */
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (min-width: 560px) { :root { --body: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; } }

/* Self-hosted fonts (Latin, variable weight; SIL Open Font License). A browser downloads a font only if the page uses it.
   Montserrat is trimmed to what the headings use (16 Nov 2026): weights 800-900, Western European letters, no hinting;
   38 KB -> 19 KB. A heading in another weight, or a language beyond Western European, needs the full font again. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800 900; font-display: swap; src: url("assets/fonts/montserrat-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/inter-latin.woff2") format("woff2"); }
/* Shown until Inter arrives: Arial scaled to Inter's measurements, so the text wraps the same way before and after and
   nothing moves when Inter swaps in (it moved the hero by a line before: a layout shift). Nothing to download. */
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica"); size-adjust: 107%; ascent-override: 90%; descent-override: 22.5%; line-gap-override: 0%; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 200px; }
body { margin: 0; font: 15px/1.5 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ico { width: 18px; height: 18px; flex: none; }
[hidden] { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
  border: 0; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .12s, background .12s, box-shadow .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--tint); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; }
.link { background: none; border: 0; color: var(--navy); font-weight: 600; cursor: pointer; padding: 6px 0; }
.link:hover { color: var(--orange); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--navy); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.topbar-in { display: flex; align-items: center; gap: 16px; height: 60px; }
.brand img { height: 34px; width: auto; }
.topnav { display: none; align-items: center; margin-inline-start: auto; gap: 24px; }
.topnav a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: 14px; }
.topnav a:hover { color: #fff; }
.topnav .eshop { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 4px; padding: 6px 12px; border-radius: 999px; color: #fff; font-weight: 600;
  background: rgba(233,79,40,.18); border: 1.5px solid rgba(233,79,40,.7); }
.topnav .eshop:hover { background: var(--orange); border-color: var(--orange); }
.topnav .eshop .ico { width: 16px; height: 16px; }

/* Hero */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 85% 10%, #145487 0%, transparent 55%), linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-deep) 100%); }
.hero-circuit { position: absolute; inset-inline-end: -80px; top: 0; height: 100%; width: 70%; color: var(--orange); opacity: .22; pointer-events: none; }
/* Phone first: a short hero (headline, search, one line of facts, slim GITEX strip) so products show on the first screen.
   The eyebrow, intro paragraph and stat tiles come back from 560px up. */
.hero-in { position: relative; padding: 20px 16px 18px; }
.eyebrow { display: none; margin: 0 0 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #FF9A4E; font-weight: 600; }
.hero h1 { margin: 0; font: 900 clamp(20px, 6.2vw, 26px)/1.15 var(--head); letter-spacing: -.01em; max-width: 760px; text-align: center; }
.hero h1 span { display: block; color: var(--orange); }
.lede { display: none; margin: 14px 0 22px; max-width: 620px; color: rgba(255,255,255,.82); font-size: 16px; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin-top: 14px; background: #fff; border-radius: 12px; padding: 0 14px; color: var(--muted);
  box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.hero-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; font: 500 16px var(--body); color: var(--ink); background: transparent; }
.stats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; overflow: hidden; padding: 0; margin: 12px 0 0; max-width: 720px; font-size: clamp(11px, 3.3vw, 12.5px); color: rgba(255,255,255,.75); }
.stats li { position: relative; display: flex; gap: 4px; margin-inline-end: 16px; white-space: nowrap; }
.stats li:last-child { margin-inline-end: 0; }
.stats li:first-child::before { content: none; }   /* no dot before the first fact now that the line is centred */
.stats li::before { content: "·"; position: absolute; inset-inline-start: -10px; }   /* clipped at the start of a line */
.stats b { font-weight: 700; color: #fff; }
.stats .l { display: none; }
.gitex { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 10px; margin-top: 12px; max-width: 720px; padding: 8px 12px; border-radius: 10px;
  background: linear-gradient(90deg, rgba(233,79,40,.22), rgba(233,79,40,.06)); border: 1px solid rgba(233,79,40,.55); }
.gitex-tag { flex: none; font: 900 10.5px var(--head); letter-spacing: .12em; background: var(--orange); color: #fff; padding: 4px 7px; border-radius: 5px; }
.gitex > div { display: contents; }
.gitex strong { flex: 1; font-size: 13.5px; }
.gitex div span { flex-basis: 100%; font-size: 12px; color: rgba(255,255,255,.82); }
.eshop-m { display: block; margin-top: 12px; text-align: center; font-size: 13px; color: rgba(255,255,255,.78); text-decoration: none; }
.eshop-m b { color: #FF9A4E; font-weight: 600; }
.eshop-m:hover b { text-decoration: underline; }

/* Brand strip */
.brands { background: #fff; border-bottom: 1px solid var(--line); }
.brand-strip { display: flex; gap: 10px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.brand-strip::-webkit-scrollbar { display: none; }
.brand-btn { flex: none; display: flex; align-items: center; justify-content: center; height: 54px; min-width: 104px; padding: 0 14px; background: #fff;
  border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .12s, box-shadow .12s; }
.brand-btn img { max-height: 24px; max-width: 96px; width: auto; }
.brand-btn img.tall { max-height: 34px; }
.brand-btn img.wide { height: 19px; max-height: none; max-width: none; width: auto; }
.brand-btn .txt { font: 800 15px var(--head); color: var(--navy); letter-spacing: .02em; }
.brand-btn:hover { border-color: #AFC2D4; }
.brand-btn[aria-pressed="true"] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233,79,40,.15); }
.brand-btn .n { margin-inline-start: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }

/* Section heads */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 26px 0 12px; }
.sec-head h2 { margin: 0; font: 800 20px var(--head); color: var(--navy); }

/* Spotlight row */
.spot-row { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.spot-row > * { scroll-snap-align: start; }

/* Toolbar */
.toolbar { position: sticky; top: 60px; z-index: 20; background: rgba(245,248,251,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); margin-top: 14px; }
.toolbar-in { padding-top: 10px; padding-bottom: 10px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; cursor: pointer; }
.tab .n { color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab[aria-selected="true"] .n { color: rgba(255,255,255,.7); }
.tool-row { display: flex; gap: 10px; align-items: center; margin-top: 10px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 10px; color: var(--muted); }
.search:focus-within { border-color: var(--navy); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 500 15px var(--body); background: transparent; color: var(--ink); }
.toggle { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; cursor: pointer; }
.toggle input { width: 18px; height: 18px; accent-color: var(--orange); }
.active { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.active:not(:empty) { margin-top: 8px; }
/* still brand logos in the sticky search bar (from 560px; phones use the .mbar row) */
.tbrands { display: flex; gap: 8px; overflow-x: auto; margin-top: 10px; padding: 2px; scrollbar-width: none; }
.tbrands::-webkit-scrollbar { display: none; }
.tbrands .brand-btn { height: 40px; min-width: 0; padding: 0 12px; border-radius: 10px; background: #fff; }
.tbrands .brand-btn img { max-height: 18px; max-width: 76px; }
.tbrands .brand-btn img.tall { max-height: 26px; }
.tbrands .brand-btn img.wide { height: auto; width: 86px; max-width: none; max-height: none; }
.tbrands .brand-btn .txt { font-size: 13px; }
.n-found { font-size: 12px; color: var(--muted); }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: 999px; background: var(--tint); color: var(--navy); font-weight: 600; border: 0; cursor: pointer; }
.pill::after { content: "×"; font-size: 16px; line-height: 1; }

/* Groups + grid */
.group { margin: 22px 0 6px; }
.group-head { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.group-head h3 { margin: 0; font: 800 16px var(--head); color: var(--navy); }
.group-head .bar { flex: 1; height: 2px; background: linear-gradient(90deg, var(--orange) 0 28px, var(--line) 28px); }
.group-head .n { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.group-logo { flex: none; height: 15px; width: auto; max-width: 84px; }
.group-logo.tall { height: 20px; }
.group-logo.wide { height: auto; width: 84px; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }

/* Card. Phone first: compact (title, one spec line, SKU + add). Wider screens get the roomier version below. */
.card { position: relative; display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px 6px; box-shadow: var(--shadow); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 24px; margin-bottom: 4px; }
.card-logo { height: 18px; max-width: 92px; width: auto; }
.card-logo.tall { height: 24px; }
.card-logo.wide { height: auto; width: 120px; max-width: 120px; }
.card-brand { font: 800 13px var(--head); color: var(--navy); letter-spacing: .03em; }
.badges { display: flex; gap: 6px; }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.badge-new { background: var(--orange); color: #fff; }
.badge-soon { background: #FFF1D6; color: #8A5300; }
.card h4 { margin: 0; font: 700 15px/1.35 var(--body); color: var(--ink); }
.card h4 .badges { float: right; margin: 0 0 2px 8px; }
.spec summary { display: block; min-height: 44px; cursor: pointer; list-style: none; -webkit-tap-highlight-color: transparent; }
.spec summary::-webkit-details-marker { display: none; }
.chips { display: flex; flex-wrap: wrap; overflow: hidden; margin-top: 3px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--navy); }
.chips > span { position: relative; margin-inline-end: 14px; white-space: nowrap; }
/* dot separators sit left of each spec; at the start of a line they fall outside the box and are clipped */
.chips > span:not(.more)::before { content: "·"; position: absolute; inset-inline-start: -9px; color: #9AA9B8; }
.more { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.more::before { content: "+ "; color: var(--orange); font-weight: 700; }
.more::after { content: var(--t-spec, "Full spec"); }   /* language pages set the --t-* texts on <html> */
.spec[open] .more::before { content: "− "; }
.spec[open] .more::after { content: var(--t-hide, "Hide"); }
.spec p { margin: 6px 0 2px; font-size: 13px; color: var(--muted); }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sku { flex: 1 1 auto; min-width: 0; text-align: start; min-height: 44px; overflow: hidden; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; border: 0; background: none;
  padding: 0; cursor: pointer; font: 600 12.5px ui-monospace, "Cascadia Mono", Consolas, monospace; color: var(--muted); }
.sku:hover { color: var(--navy); }
.sku .lbl { display: none; flex: none; font-family: var(--body); font-weight: 500; }
.sku .code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Empty / CTA / footer */
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.cta { margin-top: 40px; color: #fff; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--orange); }
.cta-in { display: grid; gap: 18px; padding-top: 34px; padding-bottom: 34px; }
.cta h2 { margin: 0 0 6px; font: 800 22px var(--head); }
.cta p { margin: 0; color: rgba(255,255,255,.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.enquiry { background: #fff; padding: 6px 0 30px; border-bottom: 1px solid var(--line); }
.enquiry-sub { margin: -4px 0 14px; color: var(--muted); max-width: 640px; }
.enquiry-frame { max-width: 820px; height: 760px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.enquiry-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.enquiry-ph { margin: 0; height: 100%; display: grid; place-items: center; padding: 20px; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius); }
.footer { background: var(--navy-deep); color: rgba(255,255,255,.7); font-size: 13px; padding: 28px 0 32px; }
body.has-qbar .footer { padding-bottom: 96px; }
.terms { margin: 0; padding-inline-start: 18px; }
.small { font-size: 12px; color: rgba(255,255,255,.5); margin: 12px 0 0; }


/* Larger screens */
@media (min-width: 560px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card { gap: 10px; padding: 14px; }
  .card.is-new { border-top: 3px solid var(--orange); }
  .card-top { margin-bottom: 0; }
  .card h4 { font-size: 15.5px; }
  .chips { align-items: center; gap: 6px; overflow: visible; margin-top: 10px; font-size: 12.5px; font-weight: 600; }
  .chips > span { margin-inline-end: 0; }
  .chips > span:not(.more) { background: var(--tint); border-radius: 6px; padding: 3px 8px; }
  .chips > span:not(.more)::before { content: none; }
  .more { margin-inline-start: 2px; }
  .card-foot { flex-wrap: nowrap; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
  .sku { min-height: 0; padding: 4px 0; }
  .sku .lbl { display: inline; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: #8A96A3; }
  .card-foot { gap: 8px; }
  .card-foot .btn-add { padding: 0 12px; gap: 6px; }
  .sku { gap: 5px; }
  .spot-row { grid-auto-columns: 46%; }
  .hero-in { padding: 36px 16px 30px; }
  .eyebrow, .lede { display: block; }
  .hero-in { text-align: center; }
  .hero h1 { font-size: 30px; line-height: 1.12; margin: 0 auto; }
  .lede { margin-left: auto; margin-right: auto; text-wrap: balance; }
  .hero-search { max-width: 820px; margin-left: auto; margin-right: auto; text-align: start; }
  .stats, .gitex { margin-left: auto; margin-right: auto; text-align: start; }
  .stats { max-width: 820px; }
  .gitex { width: fit-content; max-width: 820px; }
  .hero h1 span { display: block; }
  .hero-search { margin-top: 0; }
  .hero-search input { height: 52px; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); justify-content: normal; gap: 10px; overflow: visible; margin-top: 22px; }
  .stats li { flex-direction: column; gap: 0; margin-inline-end: 0; white-space: normal; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 10px 12px; }
  .stats li::before { content: none; }
  .stats b { order: 0; font: 800 20px/1.1 var(--head); }
  .stats .l { display: block; order: 1; }
  .stats .s { display: none; }
  .gitex { flex-wrap: nowrap; gap: 12px; margin-top: 18px; padding: 12px 14px; border-radius: 12px; }
  .gitex-tag { font-size: 12px; padding: 6px 9px; border-radius: 6px; }
  .gitex > div { display: block; }
  .gitex strong { display: block; font-size: 15px; }
  .gitex div span { font-size: 13px; }
  .btn-quote .lbl { display: inline; }
}
@media (min-width: 900px) {
  html { scroll-padding-top: 180px; }
  .topnav { display: flex; }
  .btn-quote { margin-inline-start: 8px; }
  .topbar-in { height: 68px; }
  .brand img { height: 40px; }
  .toolbar { top: 68px; }
  .hero-in { padding: 64px 16px 52px; }
  .hero h1 { font-size: 48px; max-width: 900px; }

  .eshop-m { display: none; }
  .lede { font-size: 18px; }
  .hero-circuit { width: 55%; opacity: .2; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .spot-row { grid-auto-columns: calc((100% - 36px) / 4); }
  .toolbar-in { display: grid; grid-template-columns: 1fr minmax(320px, 420px); gap: 8px 16px; align-items: center; }
  .tool-row { margin-top: 0; }
  .active, .tbrands { grid-column: 1 / -1; }
  .tbrands { margin-top: 2px; }
  .cta-in { grid-template-columns: 1fr auto; align-items: center; }
  .enquiry-frame { height: 820px; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Quote flow ---------- */
.btn-quote { margin-inline-start: auto; background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-quote:hover { border-color: #fff; }
.btn-quote .lbl { display: none; }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.count.zero { background: rgba(255,255,255,.2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #0B3457; }
.btn-line { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }
.btn-line:hover { border-color: var(--navy); }
.btn-add { flex: none; min-height: 44px; padding: 0 16px; font-size: 13.5px; background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-add .long { display: none; }
.btn-add:hover { background: var(--tint); }
.btn-add.added { background: var(--navy); color: #fff; }
/* The icon (plus / tick) is drawn by CSS and both labels are in the button, so adding to the quote only flips the "added" class. */
.btn-add::before { content: ""; flex: none; width: 16px; height: 16px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn-add.added::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.btn-add .t-on, .btn-add.added .t-off { display: none; }
.btn-add.added .t-on { display: inline; }

/* Speed: no "content-visibility: auto" on the cards. At ~150 cards it made the browser measure each card as it scrolled
   into view, which dropped every other frame while scrolling (measured 16 Nov 2026). Filter taps stay fast because
   app.js reveals the results in small batches instead. Containment keeps a search keystroke from re-measuring the
   inside of every card (about 20% faster typing; no paint containment, so nothing is clipped). */
#results .card { contain: layout style; }
/* Until app.js adds the product list, keep its place: the footer and the "Need prices" box stay below the first screen
   instead of showing under the hero and jumping down (a layout shift). */
#results:empty { min-height: 100vh; }

/* Featured band */
.feat { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); padding: 4px 0 18px; position: relative; }
.feat::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--orange); }
.feat .sec-head h2 { color: #fff; }
.feat .spark { color: var(--orange); }
.sec-sub { margin: 0; font-size: 13px; color: rgba(255,255,255,.65); }
.feat-row { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; }
.feat-row > * { scroll-snap-align: start; }
.card.is-feat { border: 0; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.card.is-feat::before { content: var(--t-feat, "FEATURED"); position: absolute; top: -1px; inset-inline-start: 14px; background: var(--orange); color: #fff; font: 800 10.5px var(--head);
  letter-spacing: .12em; padding: 4px 8px 5px; border-radius: 0 0 6px 6px; }
.card.is-feat .card-top { margin-top: 14px; }

/* Bottom quote bar */
.qbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14,64,107,.12);
  padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); }
.qbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qbar-txt { font-weight: 600; color: var(--navy); }
.qbar-txt b { font: 800 18px var(--head); color: var(--orange); }

/* Sheet / panel */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(11,17,24,.55); }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; display: flex; flex-direction: column; background: #fff;
  border-radius: 18px 18px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.25); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font: 800 18px var(--head); color: var(--navy); }
.x { width: 40px; height: 40px; border: 0; background: var(--tint); border-radius: 50%; font-size: 24px; line-height: 1; color: var(--navy); cursor: pointer; }
.sheet-body { overflow-y: auto; padding: 12px 16px; }
.sheet-h { margin: 18px 0 8px; font: 800 14px var(--head); color: var(--navy); text-transform: uppercase; letter-spacing: .06em; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qitem { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.qitem .t { font-weight: 600; font-size: 14px; }
.qitem .s { font: 600 12px ui-monospace, Consolas, monospace; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; grid-row: span 2; }
.qty button { width: 34px; height: 34px; border: 0; background: #fff; font-size: 18px; color: var(--navy); cursor: pointer; }
.qty button:hover { background: var(--tint); }
.qty input { width: 40px; height: 34px; border: 0; text-align: center; font: 700 14px var(--body); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qempty { color: var(--muted); margin: 4px 0 0; }
.reps { display: grid; gap: 8px; }
.rep { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.rep input { width: 18px; height: 18px; accent-color: var(--orange); flex: none; }
.rep b { display: block; font-size: 14.5px; }
.rep span { font-size: 12.5px; color: var(--muted); }
.rep .tag { margin-inline-start: auto; flex: none; font-size: 11px; font-weight: 700; color: var(--orange); background: #FDEDE8; padding: 3px 8px; border-radius: 6px; }
.rep:has(input:checked) { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233,79,40,.12); }
.fields { display: grid; gap: 10px; }
.field { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field span { font-weight: 400; color: var(--muted); }
/* 16px text: smaller makes iPhones zoom the page when a field is tapped */
.field input, .field textarea { display: block; width: 100%; margin-top: 5px; height: 44px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font: 500 16px var(--body); color: var(--ink); background: #fff; }
.field textarea { height: auto; min-height: 64px; padding: 10px 12px; resize: vertical; line-height: 1.4; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy); }
.field [aria-invalid="true"] { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(233,79,40,.15); }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hint { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.form-msg { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #FDEDE8; color: #8A2A12; font-size: 13.5px; font-weight: 500; }
.form-msg a { color: inherit; font-weight: 700; }
.sheet-body .clear { display: block; margin: 4px 0 0; margin-inline-start: auto; color: var(--muted); font-size: 13px; }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot #rfp-send { flex: 1 1 150px; }
.sheet-foot #send-mail { flex: none; padding: 0 14px; }
.sheet-foot #rfp-send:disabled { opacity: .7; cursor: progress; }
.sheet-done { padding: 36px 20px calc(36px + env(safe-area-inset-bottom)); text-align: center; overflow-y: auto; }
.done-ico { width: 56px; height: 56px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: var(--tint); color: var(--navy); }
.done-ico svg { width: 28px; height: 28px; }
.sheet-done h3 { margin: 0 0 6px; font: 800 20px var(--head); color: var(--navy); }
.sheet-done p { margin: 0 auto 20px; max-width: 340px; color: var(--muted); }
.toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 20px); opacity: 0; z-index: 70; background: var(--navy-deep); color: #fff;
  padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 600; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.sheet-open { overflow: hidden; }

@media (min-width: 560px) {
  .feat-row { grid-auto-columns: 46%; }
  .fields { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .feat-row { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; gap: 16px; }
  .sheet-panel { left: auto; inset-inline-start: auto; top: 0;   /* left: for browsers without inset-inline */ bottom: 0; width: 460px; max-height: none; border-radius: 0; }
}
@media (min-width: 560px) { .btn-quote .lbl { display: inline; } .btn-add .long { display: inline; } .btn-add .short { display: none; } }

/* ---------- Brand logos: endless moving banner ---------- */
.brands .wrap { max-width: none; padding: 0; }
.brand-strip { display: block; overflow: hidden; padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%); }
.marquee-track { display: flex; width: max-content; animation: gm-marquee calc(var(--n, 10) * 3s) linear infinite; }
.marquee-half { display: flex; gap: 12px; padding-right: 12px; }
.brand-strip:hover .marquee-track, .brand-strip:focus-within .marquee-track, .brand-strip.paused .marquee-track { animation-play-state: paused; }
@keyframes gm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-btn { height: 58px; min-width: 120px; padding: 0 18px; }
@media (prefers-reduced-motion: reduce) {
  .brand-strip { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-left: 16px; }
  .marquee-track { animation: none; }
  .marquee-half[aria-hidden="true"] { display: none; }
}

/* ---------- Phones: brand row + compact filters (replace the moving strip and the toolbar below 560px) ---------- */
.btn-search { margin-inline-start: auto; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.btn-search .ico { width: 22px; height: 22px; }
@media (max-width: 559.98px) { .btn-search + .btn-quote { margin-inline-start: 0; } }   /* the search button is shown on phones only */
/* brand row + category/New row stay together under the top bar while scrolling the list */
.mfilters { position: sticky; top: 60px; z-index: 20; box-shadow: 0 6px 14px -10px rgba(14,64,107,.35); }
.mbar { display: flex; align-items: center; background: #fff; border-bottom: 1px solid var(--line); }
.mbar .pill { flex: none; margin-inline-start: 16px; height: 32px; max-width: 40%; overflow: hidden; white-space: nowrap; }
.mbar-row { flex: 1; min-width: 0; display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
.mbar-row::-webkit-scrollbar { display: none; }
.mbar .pill:not([hidden]) + .mbar-row { padding-inline-start: 8px; }
.mbar .brand-btn { height: 44px; min-width: 0; padding: 0 10px; border-radius: 10px; }
.mbar .brand-btn img { max-height: 20px; max-width: 66px; }
.mbar .brand-btn img.tall { max-height: 28px; }
.mbar .brand-btn img.wide { height: auto; width: 74px; max-width: none; max-height: none; }
.mbar .brand-btn .txt { font-size: 13.5px; }
.mtools { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(245,248,251,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.msel { -webkit-appearance: none; appearance: none; flex: 0 1 auto; min-width: 0; height: 44px; padding: 0 34px 0 14px; border: 1.5px solid var(--line); border-radius: 999px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230E406B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font: 600 14px var(--body); color: var(--ink); text-overflow: ellipsis; }
.mchip { flex: none; position: relative; display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff;
  font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
.mchip input { position: absolute; opacity: 0; pointer-events: none; }
.mchip:has(input:checked) { background: var(--orange); border-color: var(--orange); color: #fff; }
.mchip:has(input:focus-visible) { outline: 2px solid var(--navy); outline-offset: 2px; }
@media (max-width: 559.98px) {
  html { scroll-padding-top: 184px; }
  .brands, .toolbar { display: none; }
  .topbar .btn-quote { min-height: 44px; }
  .group { margin-top: 8px; }
  .group:not([hidden]) ~ .group { margin-top: 22px; }   /* the first group that is showing sits close to the filters */
  .is-filtering .feat, .is-filtering .spot { display: none; }
}
@media (min-width: 560px) { .mfilters, .btn-search { display: none; } }

/* ---------- Page menu: links in the top bar from 900px; below that they fold into the menu button ---------- */
.topnav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--orange); }
.btn-menu { flex: none; width: 44px; height: 44px; margin-inline-end: -8px; display: grid; place-items: center; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; }
.btn-menu span, .btn-menu span::before, .btn-menu span::after { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .18s, background .18s; }
.btn-menu span { position: relative; }
.btn-menu span::before, .btn-menu span::after { content: ""; position: absolute; left: 0; }
.btn-menu span::before { top: -7px; }
.btn-menu span::after { top: 7px; }
.menu-open .btn-menu span { background: transparent; }
.menu-open .btn-menu span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .btn-menu span::after { transform: translateY(-7px) rotate(-45deg); }
.btn-menu:focus-visible, .btn-search:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.topbar .btn-quote { flex: none; }
@media (max-width: 899.98px) {
  .topbar-in { gap: 8px; }
  .topnav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 6px 16px 16px; background: var(--navy); border-top: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 30px rgba(11,17,24,.35); }
  .menu-open .topnav { display: flex; }
  .topnav a { display: flex; align-items: center; min-height: 50px; padding: 0 4px; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .topnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--orange); padding-inline-start: 14px; }
  .topnav .eshop { justify-content: center; gap: 8px; margin: 14px 0 0; min-height: 46px; padding: 0 12px; border-bottom: 1.5px solid rgba(233,79,40,.7); }
}
@media (max-width: 559.98px) { .nav-brands { display: none !important; } }   /* phones filter by brand in the row under the top bar */
@media (min-width: 900px) { .btn-menu { display: none; } }
/* desktop menu on one line: labels never wrap; up to 1100px (and in longer languages) the gaps tighten */
@media (min-width: 900px) { .topnav a, .lang summary { white-space: nowrap; } }
@media (min-width: 900px) and (max-width: 1099.98px) { .topbar-in { gap: 12px; } .topnav { gap: 16px; } .topnav .eshop { padding: 6px 10px; } }

/* ---------- Footer (all pages) ---------- */
.footer { padding: 36px 0 28px; }
.footer-grid { display: grid; gap: 26px; }
.f-about img { height: 30px; width: auto; margin-bottom: 12px; }
.f-about p { margin: 0; max-width: 320px; line-height: 1.6; }
.f-col { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.f-col h3 { margin: 0 0 4px; font: 800 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.f-col a { color: rgba(255,255,255,.78); text-decoration: none; }
.f-col a:hover { color: #fff; text-decoration: underline; }
.f-social { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 0; }
.f-social a { color: #FF9A4E; font-weight: 600; }
.footer-base { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

/* ---------- About and Contact pages ---------- */
.phero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(110% 120% at 90% 0%, #145487 0%, transparent 55%), linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-deep) 100%); }
.phero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--orange); }
.phero .hero-circuit { width: 60%; opacity: .16; }
.phero-in { position: relative; padding: 40px 16px 44px; }
.phero .eyebrow { display: block; }
.phero h1 { margin: 0; max-width: 760px; font: 900 clamp(28px, 7vw, 46px)/1.1 var(--head); letter-spacing: -.01em; }
.phero h1 span { color: var(--orange); }
.phero .lede { display: block; margin: 14px 0 0; max-width: 640px; }
.page-sec { padding: 44px 0; }
.page-sec.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { margin: 0 0 8px; font: 800 12px var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }
.page-sec h2 { margin: 0 0 12px; font: 800 clamp(22px, 4.6vw, 30px)/1.2 var(--head); color: var(--navy); }
.page-sec .intro { margin: 0 0 24px; max-width: 680px; color: var(--muted); font-size: 16px; }
.prose p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: #33404D; }
.prose p:last-child { margin-bottom: 0; }

/* fact tiles */
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.facts li { position: relative; overflow: hidden; padding: 16px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.78); font-size: 13.5px; }
.facts li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 34px; height: 3px; background: var(--orange); }
.facts b { display: block; margin-bottom: 2px; font: 900 24px/1.15 var(--head); color: #fff; }

/* cards (what we supply, why us, ways to reach us) */
.tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  color: inherit; text-decoration: none; }
.tile h3 { margin: 0; font: 800 16px var(--head); color: var(--navy); }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.tile-ico { width: 44px; height: 44px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 12px; background: var(--tint); color: var(--navy); }
.tile-ico .ico { width: 22px; height: 22px; }
a.tile { transition: border-color .12s, transform .12s, box-shadow .12s; }
a.tile:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(14,64,107,.12); }
a.tile .go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--navy); font-size: 15px; overflow-wrap: anywhere; }
a.tile:hover .go { color: var(--orange); }
.tile.accent { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%); border-color: transparent; }
.tile.accent h3, a.tile.accent .go { color: #fff; }
.tile.accent p { color: rgba(255,255,255,.75); }
.tile.accent .tile-ico { background: var(--orange); color: #fff; }

/* brand logo wall */
.logo-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.logo-wall a { display: grid; place-items: center; height: 70px; padding: 0 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; text-decoration: none; }
.logo-wall a:hover { border-color: var(--orange); }
.logo-wall img { max-height: 26px; max-width: 100%; width: auto; }
.logo-wall img.tall { max-height: 38px; }

/* contact: offices + form card */
@media (min-width: 700px) { .tiles.ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* form on the left, office cards on the right (stacked on phones and tablets: form first) */
.contact-grid { display: grid; gap: 40px; }
.contact-form .intro, .contact-side .intro { margin-bottom: 20px; }
.locs { display: grid; gap: 12px; }
.locs .tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-content: start; padding: 16px 18px; }
.locs .tile > :not(.tile-ico) { grid-column: 2; }
.locs .tile-ico { grid-row: 1 / span 2; margin: 0; }
@media (min-width: 700px) and (max-width: 899.98px) { .locs { grid-template-columns: repeat(3, minmax(0, 1fr)); } .locs .tile { display: flex; } }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
  .contact-side { position: sticky; top: 96px; }
}
.tile.loc { border-top: 3px solid var(--orange); }
.tile.loc p { color: #33404D; line-height: 1.6; }
/* The Microsoft Form scrolls inside its frame. site.js (fitForm) makes the frame --crop taller than
   the card, and the card hides what sticks out: Microsoft's notice under the Submit button. The values below are only the fallback when the script does not run. */
.form-card { --fh: 500px; --top: 0px; --crop: 315px; position: relative; max-width: 720px; background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(14,64,107,.06), 0 18px 40px rgba(14,64,107,.12); }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); z-index: 1; }
.form-card .enquiry-frame { max-width: none; height: var(--fh); border: 0; border-radius: 0; overflow: hidden; background: #fff; }
.form-card .enquiry-frame iframe { width: 100%; height: calc(var(--fh) + var(--top) + var(--crop)); margin-top: calc(-1 * var(--top)); }
@media (min-width: 560px) { .form-card { --fh: 720px; --crop: 247px; } }

@media (max-width: 559.98px) {   /* phones: icon beside the text, so the cards stay short */
  .tile { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-content: start; padding: 16px; }
  .tile > :not(.tile-ico) { grid-column: 2; }
  .tile-ico { grid-row: 1 / span 3; margin: 0; }
}
@media (min-width: 560px) {
  .phero-in { padding: 56px 16px 60px; }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .phero-in { padding: 76px 16px 80px; }
  .page-sec { padding: 64px 0; }
  .tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
  .split .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 0; }
  .split .facts li { padding: 24px 22px; font-size: 14.5px; }
  .split .facts b { font-size: 30px; }
}

/* ---------- Languages: menu in the top bar, links in the footer, one-time offer (site.js) ----------
   build_list.py writes the menu into every page; the language pages (ar/, ru/, ...) also load i18n.css. */
.lang { position: relative; flex: none; }
.lang summary { display: flex; align-items: center; gap: 6px; min-height: 44px; list-style: none; cursor: pointer; color: rgba(255,255,255,.85);
  font-size: 13px; font-weight: 600; -webkit-tap-highlight-color: transparent; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { color: #fff; }
.lang summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
.lang .lang-name { display: none; }
.topnav .lang-list a { display: block; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.topnav .lang-list a[aria-current] { color: var(--navy); font-weight: 700; }
@media (min-width: 900px) {
  .lang-list { position: absolute; top: calc(100% + 4px); inset-inline-end: -8px; z-index: 35; min-width: 168px; padding: 6px; display: grid; gap: 2px;
    background: #fff; border-radius: 12px; box-shadow: 0 14px 34px rgba(11,17,24,.32); }
  .topnav .lang-list a { padding: 9px 12px; border-radius: 8px; }
  .topnav .lang-list a:hover { background: var(--tint); color: var(--navy); }
  .topnav .lang-list a[aria-current] { background: var(--tint); }
}
@media (max-width: 899.98px) {   /* inside the folded menu: a row with the language's name, the choices as buttons below */
  .lang summary { min-height: 50px; padding: 0 4px; font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.08); }
  .lang .lang-code { display: none; }
  .lang .lang-name { display: inline; }
  .lang-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0 4px; }
  .topnav .lang-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid rgba(255,255,255,.28); border-radius: 999px;
    color: #fff; font-size: 15px; }
  .topnav .lang-list a[aria-current] { background: #fff; border-color: #fff; color: var(--navy); }
}
.f-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px; }
.f-langs a { color: rgba(255,255,255,.78); text-decoration: none; font-weight: 500; }
.f-langs a:hover { color: #fff; text-decoration: underline; }
.f-langs a[aria-current] { color: #fff; font-weight: 700; }
.lang-offer { position: fixed; z-index: 55; top: 74px; inset-inline: 12px; margin-inline: auto; max-width: 460px; display: flex; align-items: center; gap: 10px;
  padding: 10px 10px 10px 16px; padding-inline: 16px 10px; background: #fff; border-radius: 14px; border-top: 3px solid var(--orange);
  box-shadow: 0 16px 40px rgba(11,17,24,.32); color: var(--navy); font-weight: 600; font-size: 15px; animation: gm-pop .25s ease-out; }
.lang-offer span { flex: 1; min-width: 0; }
.lang-offer .btn { flex: none; }
.lang-offer .x { flex: none; width: 36px; height: 36px; font-size: 20px; }
@keyframes gm-pop { from { opacity: 0; transform: translateY(-8px); } }

