/* PowerLoad menu v2 (hover-preview). Self-contained: works on any page,
   with or without pl.css, because every value has a literal fallback. */

/* style.css carries `body > *:not(...) { position: relative; z-index: 1 }`, whose
   specificity (0,4,1) beats a bare class, so the root box is ID-scoped to win. */
#plnav { position: fixed; z-index: 60; width: max-content; max-width: calc(100vw - 28px); }
#plnavDrawer { position: fixed; z-index: 70; }

.plnav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 60;
  display: flex; align-items: center; gap: 20px;
  padding: 8px 8px 8px 20px; border-radius: 999px;
  background: rgba(5,5,5,.72); border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  max-width: calc(100vw - 28px);
}
.plnav-logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.plnav-logo img { height: 17px; width: auto; display: block; }
.plnav-links { display: flex; align-items: center; gap: 2px; }

.plnav-item { position: relative; }
.plnav-item > button,
.plnav-flat {
  font-family: inherit; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.7);
  background: transparent; border: 0; padding: 9px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  text-decoration: none; white-space: nowrap; letter-spacing: -.005em;
  transition: color 180ms ease, background 180ms ease;
}
.plnav-item > button:hover, .plnav-flat:hover,
.plnav-item.open > button { color: #fff; background: rgba(255,255,255,.08); }
.plnav-flat[aria-current="page"], .plnav-item > button[aria-current="page"] { color: #fff; }
.plnav-chev { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.6;
  stroke-linecap: round; opacity: .5; transition: transform 240ms cubic-bezier(.2,.8,.2,1); }
.plnav-item.open .plnav-chev { transform: rotate(180deg); opacity: 1; }

.plnav-cta {
  font-size: 12.5px; font-weight: 600; background: #fff; color: #0A0A0C;
  padding: 9px 17px; border-radius: 999px; text-decoration: none;
  white-space: nowrap; flex-shrink: 0; font-family: inherit;
  transition: transform 200ms ease, box-shadow 220ms ease;
}
.plnav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(240,96,31,.32); }

/* ── panel ─────────────────────────────────────────────────── */
.plnav-panel {
  position: absolute; top: calc(100% + 13px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  display: grid; grid-template-columns: 292px 264px; gap: 12px; padding: 12px;
  border-radius: 20px; background: rgba(10,10,12,.985);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 34px 78px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 200ms ease, transform 240ms cubic-bezier(.2,.8,.2,1), visibility 0s linear 240ms;
}
.plnav-item.open .plnav-panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%); transition-delay: 0s;
}
.plnav-panel::before { content: ""; position: absolute; top: -13px; left: 0; right: 0; height: 13px; }

.plnav-list { display: flex; flex-direction: column; gap: 1px; }
.plnav-glab {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px; letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.36); padding: 10px 11px 7px;
}
.plnav-glab:first-child { padding-top: 2px; }
.plnav-row {
  display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px;
  text-decoration: none; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}
.plnav-t { flex: 1; }
.plnav-ic {
  width: 26px; height: 26px; border-radius: 7px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(240,96,31,.12); border: 1px solid rgba(240,96,31,.2);
}
.plnav-ic svg { width: 13px; height: 13px; fill: none; stroke: #F0601F;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.plnav-ar { width: 12px; height: 12px; flex-shrink: 0; fill: none; stroke: #F0601F;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transition: opacity 160ms ease, transform 200ms ease; }
.plnav-row:hover, .plnav-row.on { background: rgba(255,255,255,.07); color: #fff; }
.plnav-row:hover .plnav-ar, .plnav-row.on .plnav-ar { opacity: 1; transform: translateX(2px); }
.plnav-row:focus-visible { outline: 2px solid #F0601F; outline-offset: -2px; }

.plnav-prev {
  border-radius: 14px; padding: 14px; display: flex; flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
}
.plnav-img {
  display: block; border-radius: 10px; height: 168px; margin-bottom: 13px;
  background-size: cover; background-position: center; background-color: #141416;
  transition: opacity 220ms ease;
}
.plnav-panel.sw .plnav-img { opacity: .25; }
.plnav-ptt { display: block; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.012em; }
.plnav-ptx { display: block; font-style: normal; font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 12px; line-height: 1.5; color: rgba(255,255,255,.55); margin-top: 6px; }
.plnav-all {
  margin-top: 16px; font-size: 11.5px; font-weight: 600; color: #fff;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
}
.plnav-all svg { width: 12px; height: 12px; fill: none; stroke: currentColor;
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.plnav-all:hover { color: #F0601F; }

/* ── mobile ────────────────────────────────────────────────── */
.plnav-burger {
  display: none; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  align-items: center; justify-content: center; color: #fff; cursor: pointer;
}
.plnav-burger svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.plnav-drawer {
  position: fixed; inset: 0; z-index: 70; background: rgba(5,5,5,.97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  overflow-y: auto; padding: 22px 20px 70px;
  font-family: 'Montserrat', system-ui, sans-serif;
  opacity: 0; visibility: hidden; transition: opacity 240ms ease, visibility 0s linear 240ms;
}
.plnav-drawer.open { opacity: 1; visibility: visible; transition-delay: 0s; }
.plnav-drawer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.plnav-drawer-top .plnav-logo img { height: 18px; }
.plnav-drawer-close {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.plnav-drawer-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
/* .col-h / .grp-h are the <p> elements that replaced the drawer's <h4>/<h5>.
   They are nav chrome, not document structure, and as headings they created
   heading-level skips on every page. Old selectors kept so nothing regresses. */
.plnav-drawer h4,
.plnav-drawer .col-h {
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: #F0601F; margin: 30px 0 10px;
}
.plnav-drawer h5,
.plnav-drawer .grp-h {
  font-family: 'IBM Plex Mono', ui-monospace, monospace; font-weight: 400;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin: 16px 0 6px;
}
.plnav-dlink {
  display: block; padding: 11px 0; font-size: 16px; font-weight: 500;
  color: rgba(255,255,255,.86); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.06); letter-spacing: -.015em;
}
.plnav-dlink:hover, .plnav-dlink[aria-current="page"] { color: #F0601F; }
.plnav-dtop { font-size: 18px; font-weight: 600; color: #fff; margin-top: 26px; }
.plnav-dcta {
  display: block; text-align: center; margin-top: 34px; padding: 15px;
  background: #fff; color: #0A0A0C; border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none;
}

@media (max-width: 1080px) {
  .plnav-links { display: none; }
  .plnav-burger { display: inline-flex; }
  .plnav { padding: 8px 8px 8px 18px; gap: 14px; }
}
@media (max-width: 520px) { .plnav-cta { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .plnav-panel, .plnav-img, .plnav-chev, .plnav-ar, .plnav-cta { transition: none; }
}

/* ══ MENU v2 — larger, 28 Aug ═══════════════════════════════════
   Bigger logo, bigger type, more air. Desktop only: the mobile
   breakpoint below 1080px still collapses to the burger. */
@media (min-width: 1081px) {
  .plnav { gap: 26px; padding: 10px 10px 10px 28px; }
  .plnav-logo img { height: 23px; }
  .plnav-links { gap: 4px; }
  .plnav-item > button, .plnav-flat { font-size: 15px; padding: 11px 16px; }
  .plnav-chev { width: 12px; height: 12px; }
  .plnav-cta { font-size: 14.5px; padding: 11px 22px; }
}

/* ══ Two-range nav, 15 Oct 2026 ═════════════════════════════════
   Seven top-level items (Base build, End-of-line, Applications,
   Equipment, Services, Projects, Company) no longer fit between
   1081px and ~1400px at the 28 Aug spacing. Tighter items up to
   1400px, and the burger takes over below 1200px. */
@media (min-width: 1200px) and (max-width: 1400px) {
  .plnav { gap: 14px; padding-left: 22px; }
  .plnav-links { gap: 0; }
  .plnav-item > button, .plnav-flat { font-size: 14.5px; padding: 11px 9px; }
  .plnav-cta { padding: 11px 18px; }
}
@media (max-width: 1199px) {
  .plnav-links { display: none; }
  .plnav-burger { display: inline-flex; }
}
