/* Local compatibility layer for the existing content-only markup.
   The visual system is borrowed from VISUAL 2.1; this layer keeps the
   current static navigation visible because the existing pages do not
   include the reference version's mobile menu button. */

:root {
  --safety: var(--accent);
  --paper-ink: var(--ink);
  --paper-muted: var(--ink-mut);
  --panel: var(--surface);
}

/* Keep the existing navigation behavior on narrow screens. */
@media (max-width: 1080px) {
  .nav {
    min-height: 68px;
    padding: 10px 0;
    gap: 12px;
    align-items: center;
    flex-direction: row;
  }

  .nav-links {
    position: static;
    display: flex;
    grid-template-columns: none;
    width: auto;
    max-height: none;
    padding: 0;
    overflow-x: auto;
    background: transparent;
    border-bottom: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-links a {
    padding: 8px 0;
    border-bottom: 2px solid transparent;
  }

  .nav-links .header-cta {
    grid-column: auto;
    margin: 0;
  }
}

@media (max-width: 680px) {
  .nav-links {
    gap: 12px;
    font-size: 0.68rem;
  }

  .brand img {
    width: 150px;
  }

  .header-cta {
    padding: 10px 14px;
  }
}

/* Keep workflow and contact-card titles visible after the legacy page CSS. */
.process-step h3,
.contact-card h3 {
  color: var(--ink);
}

/* Keep other light-card content readable after the legacy white-text rule. */
.wire-brand-card h3,
.application strong,
tbody td {
  color: var(--ink);
}

/* Keep equipment-table rows visible before hover; hover still highlights them. */
.table-wrap tbody tr,
.table-wrap tbody td {
  background: var(--card);
}

/* Reserve the same two-line title space so card descriptions start evenly. */
@media (min-width: 681px) {
  .light-band .process-step h3 {
    min-height: 3.3em;
  }
}
