  :root {
    --red: #d00000;
    --black: #000;
    --ink: #1a1a1a;
    --muted: #666;
    --line: #ddd;
    --header-h: 150px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
  body {
    margin: 0;
    font: 16px/1.55 Arial, Helvetica, sans-serif;
    background: var(--black);
    color: #f2f2f2;
  }
  a { color: var(--red); }

  /* ---- header ---- */
  .site-header {
    position: sticky; top: 0; z-index: 10;
    background: #fff url("artwork/misc/whitebackground.jpg");
    border-bottom: 4px solid var(--red);
    box-shadow: 0 2px 8px rgba(0,0,0,.4);
  }
  .brand {
    max-width: 1100px; margin: 0 auto; padding: 8px 16px;
    display: flex; align-items: center; gap: 24px;
  }
  .brand img.logo { width: 140px; height: 60px; flex: none; }
  .brand img.banner { height: 70px; max-width: 100%; object-fit: contain; min-width: 0; }
  nav { background: var(--black); }
  nav ul {
    max-width: 1100px; margin: 0 auto; padding: 0 8px;
    list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  }
  nav a {
    display: block; padding: 10px 18px;
    color: #fff; text-decoration: none; font-weight: bold; letter-spacing: .03em;
  }
  nav a:hover, nav a:focus-visible { background: var(--red); }
  nav a[aria-current] { background: var(--red); }

  /* ---- sections ---- */
  main { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
  section { padding: 48px 0 24px; border-bottom: 1px solid #333; }
  section:last-child { border-bottom: 0; }
  h2 {
    color: var(--red); font-size: 2rem; text-align: center;
    text-transform: uppercase; text-decoration: underline; margin: 0 0 24px;
  }
  h3 { color: var(--red); font-size: 1.4rem; text-decoration: underline; margin: 32px 0 8px; }
  .panel { background: #fff; color: var(--ink); border-radius: 6px; padding: 20px; }

  /* home */
  #home { text-align: center; color: var(--red); }
  #home .tagline { font-weight: bold; font-size: 1.15rem; margin: 0 0 8px; }
  #home img.map { max-width: 100%; height: auto; margin: 16px 0; }
  .flags { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; margin: 8px 0; }
  .countries { max-width: 760px; margin: 8px auto 0; }

  /* about */
  #about { color: var(--red); font-size: 1.05rem; }
  #about ul { margin: 8px 0; }
  #about li { margin: 6px 0; }

  /* line card */
  .linecard { width: 100%; border-collapse: collapse; }
  .linecard th, .linecard td { border: 1px solid var(--line); padding: 12px; vertical-align: middle; text-align: left; }
  .linecard thead th { background: var(--black); color: #fff; }
  .linecard td.logo { width: 160px; text-align: center; }
  .linecard td.logo img { max-width: 140px; max-height: 80px; height: auto; }
  .linecard td.brand-name { font-weight: bold; color: var(--red); white-space: nowrap; }
  .linecard p { margin: 0 0 6px; }
  .hint { font-size: .85rem; color: var(--muted); margin: 0 0 12px; }

  /* literature */
  .lit-notes { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
  .lit-notes p { margin: 2px 0; }
  .filter {
    width: 100%; padding: 10px 12px; font-size: 1rem;
    border: 2px solid var(--line); border-radius: 4px; margin-bottom: 8px;
  }
  .filter:focus { outline: none; border-color: var(--red); }
  .filter-status { font-size: .85rem; color: var(--muted); min-height: 1.3em; margin-bottom: 12px; }
  details.mfr { border: 1px solid var(--line); border-radius: 4px; margin-bottom: 8px; }
  details.mfr > summary {
    cursor: pointer; padding: 10px 14px; font-weight: bold;
    background: var(--black); color: #fff; border-radius: 3px;
  }
  details.mfr[open] > summary { background: var(--red); border-radius: 3px 3px 0 0; }
  summary .count { font-weight: normal; opacity: .8; font-size: .9em; }
  .mfr-body { padding: 8px 14px 14px; }
  .grp h4, .grp h5 { margin: 14px 0 4px; color: var(--red); }
  .grp h4 { font-size: 1.05rem; text-transform: uppercase; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
  .grp h5 { font-size: .95rem; }
  .grp .grp { margin-left: 12px; }
  .entry {
    display: grid; grid-template-columns: 11em 1fr; gap: 12px;
    padding: 4px 6px; border-radius: 3px; color: var(--ink); text-decoration: none;
  }
  a.entry:hover, a.entry:focus-visible { background: #fbe6e6; }
  a.entry .no { color: #0645ad; font-weight: bold; }
  a.entry:hover .desc { text-decoration: underline; }
  .entry.sub { padding-left: 28px; }
  .entry.na { color: var(--muted); font-style: italic; }
  .site { margin: 10px 0 0; }
  .hidden { display: none !important; }

  /* contact */
  #contact { color: var(--red); }
  .offices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
  .office h3 { margin-top: 0; }
  .office strong { display: block; }
  .office img { vertical-align: middle; margin-left: 6px; }
  .office p { margin: 0; }

  footer { text-align: center; font-size: .85rem; color: #aaa; padding: 24px 16px 40px; border-top: 1px solid #333; }

  @media (max-width: 640px) {
    :root { --header-h: 100px; }
    .brand { padding: 4px 10px; gap: 10px; }
    .brand img.logo { width: 70px; height: 30px; }
    .brand img.banner { height: 30px; }
    nav ul { padding: 0; }
    nav a { padding: 6px 8px; font-size: .9rem; }
    section { padding-top: 32px; }
    h2 { font-size: 1.6rem; }
    .panel { padding: 12px; }
    /* line card: one stacked card per manufacturer */
    .linecard thead { display: none; }
    .linecard, .linecard tbody { display: block; }
    .linecard tr {
      display: grid; grid-template-columns: 90px 1fr; align-items: center;
      border: 1px solid var(--line); border-radius: 4px; margin-bottom: 10px;
    }
    .linecard td { border: 0; padding: 8px; }
    .linecard td.logo { width: auto; }
    .linecard td.logo img { max-width: 80px; }
    .linecard td.brand-name { white-space: normal; }
    .linecard td:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
    .entry { grid-template-columns: 1fr; gap: 0; }
  }
