/* Shared Synvert header and footer shell. Update this file and assets/site-shell.js for sitewide shell changes. */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 100;
  overflow-x: clip;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  border-bottom: 1px solid var(--border);
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease;
}
header.menu-open,
header.mobile-open {
  background: var(--bg);
  border-bottom-color: transparent;
}
header.scrolled {
  box-shadow: 0 8px 28px color-mix(in srgb, var(--text) 8%, transparent);
}
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  pointer-events: none;
  will-change: transform;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  max-width: 1180px;
  margin: 0 auto;
  height: 68px;
  position: relative;
  width: 100%;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  min-width: 0;
}
.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: 210px;
  object-fit: contain;
}
.navlinks {
  display: flex;
  gap: 34px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  height: 100%;
}
.navlinks > div {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: default;
}
.navlinks a {
  transition: color .3s ease;
}
.navlinks a.is-active,
.navlinks .navtrigger.is-active {
  color: var(--text);
}
.navtrigger {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color .3s ease;
}
.navlinks > div:hover .navtrigger,
.navlinks > div:hover a {
  color: var(--text);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .3s ease;
  background: none;
}
.icon-btn:hover {
  border-color: var(--muted);
}
.icon-btn svg {
  width: 14px;
  height: 14px;
  stroke: var(--text);
}
.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}
.menu-btn {
  display: none;
}
.menu-btn svg {
  width: 15px;
  height: 15px;
}
.menu-btn .line {
  transition: transform .25s ease, opacity .2s ease;
  transform-origin: center;
}
header.mobile-open .menu-btn .line-1 {
  transform: translateY(3px) rotate(45deg);
}
header.mobile-open .menu-btn .line-2 {
  opacity: 0;
}
header.mobile-open .menu-btn .line-3 {
  transform: translateY(-3px) rotate(-45deg);
}
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .5s cubic-bezier(.2,.8,.2,1), opacity .35s ease;
  pointer-events: none;
}
.navlinks > div:hover .megamenu,
.navlinks > div:focus-within .megamenu,
.megamenu:hover {
  max-height: 420px;
  opacity: 1;
  pointer-events: auto;
}
.megamenu-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 32px 52px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.megamenu-inner.industries,
.megamenu-inner.products {
  grid-template-columns: repeat(4, 1fr);
}
.megamenu a {
  display: block;
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
}
.megamenu p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}
.mobile-nav {
  display: none;
}
body.nav-open {
  overflow: hidden;
}
body.lightbox-open {
  overflow: hidden;
}
.pm-img img {
  cursor: zoom-in;
}
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
  background: var(--footer-bg, #D0DAE3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-grid h5 {
  font-size: 12px;
  font-weight: 600;
  color: var(--footer-heading, #34424C);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-grid ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-grid a,
.footer-grid p {
  color: var(--footer-muted, #45515B);
  font-size: 13px;
}
.footer-grid a:hover {
  color: var(--text);
}
.footer-contact {
  font-style: normal;
}
.footer-contact ul {
  gap: 9px;
}
.footer-contact li {
  color: var(--footer-muted, #45515B);
  font-size: 13px;
  line-height: 1.55;
}
.footer-contact .contact-address {
  margin-bottom: 7px;
}
.footer-contact .contact-label {
  color: var(--footer-faint, #61707A);
}
.footer-brand .logo {
  margin-bottom: 14px;
}
.footer-brand p {
  max-width: 280px;
  line-height: 1.6;
}
.footer-brand-copy {
  margin-top: 14px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--footer-faint, #61707A);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  grid-template-columns: 1fr;
  background: color-mix(in srgb, #000 72%, transparent);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.image-lightbox__stage {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}
.image-lightbox.dragging .image-lightbox__stage {
  cursor: grabbing;
}
.image-lightbox__image {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: min(92vw, 92vh);
  max-height: min(92vh, 92vw);
  transform: translate(-50%, -50%) translate(var(--lightbox-x, 0px), var(--lightbox-y, 0px)) scale(var(--lightbox-scale, 1));
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}
.image-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--bg) 55%, transparent);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.image-lightbox__close:hover {
  border-color: var(--red);
  background: var(--bg);
  transform: scale(1.04);
}
.image-lightbox__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}.footer-brand .brand-logo {
  height: 46px;
  max-width: 240px;
}
html[data-theme="dark"] footer {
  background: var(--footer-bg, #181A1D);
}
html[data-theme="dark"] .footer-grid h5 {
  color: var(--footer-heading, #A1A1A6);
}
html[data-theme="dark"] .footer-grid a,
html[data-theme="dark"] .footer-grid p,
html[data-theme="dark"] .footer-contact li {
  color: var(--footer-muted, #A1A1A6);
}
html[data-theme="dark"] .footer-contact .contact-label,
html[data-theme="dark"] .footer-bottom {
  color: var(--footer-faint, #6E6E73);
}
@media (max-width: 1020px) {
  nav {
    padding: 0 20px;
  }
  .brand-logo {
    height: 36px;
    max-width: 190px;
  }
  .navlinks,
  .nav-cta {
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .nav-right {
    gap: 10px;
  }
  .mobile-nav {
    display: block;
    position: fixed;
    inset: 68px 0 auto 0;
    max-height: calc(100dvh - 68px);
    overflow: auto;
    padding: 22px 24px 30px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s ease, transform .24s ease;
  }
  header.mobile-open .mobile-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav a,
  .mobile-nav summary {
    display: block;
    color: var(--text);
    font-size: 18px;
    padding: 13px 0;
  }
  .mobile-nav details {
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav details:first-child {
    border-top: 1px solid var(--border);
  }
  .mobile-nav summary {
    cursor: pointer;
    list-style: none;
    position: relative;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 13px;
    color: var(--muted);
    font-size: 20px;
    font-weight: 300;
    transition: transform .25s ease;
  }
  .mobile-nav details[open] summary::after {
    transform: rotate(45deg);
  }
  .mobile-subnav {
    display: grid;
    gap: 2px;
    padding: 0 0 16px;
  }
  .mobile-subnav a {
    padding: 10px 0;
    color: var(--muted);
    font-size: 14px;
  }
  .mobile-nav a.mobile-nav-cta {
    margin-top: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background: var(--red);
    border-radius: 980px;
    padding: 14px;
    box-sizing: border-box;
  }
}
@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 24px;
  }
  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}
@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}