@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/poppins-400.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/poppins-500.woff2") format("woff2");
}

@font-face {
  font-family: Poppins;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/poppins-600.woff2") format("woff2");
}

:root {
  --blue: #0276b0;
  --blue-dark: #02659a;
  --ink: #333333;
  --muted: #7a7a7a;
  --slate: #54595f;
  --banner: #efefef;
  --band: #f3f3f3;
  --hero: #f4f4f4;
  --line: #d9d9d9;
  --max: 1140px;
  --font: Poppins, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
}

button,
input,
textarea {
  font-family: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  min-height: 46px;
  padding: 8px 0;
}

.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #222;
  text-decoration: none;
  font-size: 15px;
}

.topbar svg {
  width: 16px;
  height: 16px;
  fill: #222;
}

.site-header {
  background: #fff;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 118px;
  padding: 12px 0;
}

.logo img {
  display: block;
  width: 320px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 10px 8px;
  border: 0;
  background: var(--blue);
  border-radius: 4px;
  cursor: pointer;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.menu {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 4px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.menu > li > a:hover,
.menu > li > a[aria-current="page"] {
  background: var(--blue-dark);
}

.caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}

.sub-toggle {
  display: none;
}

.sub {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 30;
  min-width: 230px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sub a {
  display: block;
  padding: 10px 20px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.sub a:hover,
.sub a[aria-current="page"] {
  background: #f4f7f9;
  color: var(--blue);
}

.sub .has-sub {
  position: relative;
}

.sub .sub {
  top: 0;
  left: 100%;
}

@media (min-width: 1025px) {
  .menu > li:hover > .sub,
  .menu > li:focus-within > .sub,
  .sub .has-sub:hover > .sub,
  .sub .has-sub:focus-within > .sub {
    display: block;
  }
}

.page-banner {
  background: var(--banner);
}

.page-banner h1 {
  margin: 0;
  padding: 37px 0;
  color: var(--blue);
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.prose {
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.prose p {
  margin: 0 0 16px;
}

.prose h2 {
  margin: 28px 0 12px;
  color: var(--blue);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
}

.wrap.prose {
  padding: 48px 0 72px;
}

.section-title,
.content-head {
  margin: 0 0 18px;
  color: var(--blue);
  font-weight: 600;
  line-height: 1.15;
}

.section-title {
  font-size: 36px;
  text-align: center;
}

.content-head {
  font-size: 32px;
}

.content-head.center,
.center {
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 36px;
  align-items: start;
  padding: 48px 0 56px;
}

.split img.feature {
  display: block;
  width: 100%;
}

/* These two photos are only 200 and 250 pixels. Stretching them blurs them. */
.split.fit-image {
  grid-template-columns: minmax(0, 1fr) auto;
}

.split.fit-image img.feature {
  width: auto;
  max-width: 100%;
  height: auto;
}

.about-photos {
  display: grid;
  gap: 18px;
}

.side-menu {
  background: var(--blue);
  margin-top: 8px;
}

.side-menu .wrap > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 48px;
}

.side-menu .wrap > ul > li {
  position: relative;
}

.side-menu .wrap > ul > li > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.side-menu .wrap > ul > li > a:hover,
.side-menu .wrap > ul > li > a[aria-current="page"] {
  background: rgba(0, 0, 0, 0.12);
}

.side-menu .sub {
  top: 100%;
}

.side-menu .sub a {
  color: var(--ink);
}

@media (min-width: 1025px) {
  .side-menu .wrap > ul > li:hover > .sub,
  .side-menu .wrap > ul > li:focus-within > .sub {
    display: block;
  }
}

.hero {
  position: relative;
  background: var(--hero);
  border-top: 6px solid var(--blue);
  border-bottom: 6px solid var(--blue);
  overflow: hidden;
}

.hero-track {
  display: flex;
  transition: transform 0.55s ease;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
  gap: 30px;
  align-items: center;
  flex: 0 0 100%;
  min-height: 430px;
  padding: 48px max(20px, calc((100% - var(--max)) / 2)) 72px;
}

.hero-single .slide {
  min-height: 0;
  padding: 48px 0 56px;
}

.slide h2 {
  margin: 0;
  color: var(--blue);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.05;
}

.slide .subhead {
  margin: 8px 0 14px;
  color: var(--slate);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
}

.slide p {
  margin: 0 0 22px;
  max-width: 460px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.slide img {
  display: block;
  width: auto;
  max-width: min(100%, 480px);
  max-height: 340px;
  margin-left: auto;
  object-fit: contain;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 3px;
  background: var(--blue);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-dark);
}

.hero-nav {
  position: absolute;
  top: 46%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--slate);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
}

.hero:hover .hero-nav,
.hero:focus-within .hero-nav {
  opacity: 1;
}

.hero-nav.prev { left: 18px; }
.hero-nav.next { right: 18px; }

.dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c5c5c5;
  cursor: pointer;
}

.dots button[aria-current="true"] {
  background: #222;
}

.band {
  padding: 64px 0 28px;
}

.lead {
  max-width: 980px;
  margin: 12px auto 34px;
  color: var(--muted);
  text-align: center;
  font-size: 16px;
  line-height: 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding-bottom: 36px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 340px;
  padding: 22px 16px 28px;
  border: 2px solid var(--blue);
  text-align: center;
}

.card img {
  width: 180px;
  height: 180px;
  object-fit: contain;
}

.card h3 {
  margin: 12px 0 28px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 500;
}

.card .btn {
  position: absolute;
  bottom: -18px;
}

.company {
  background: var(--band);
  padding: 54px 0;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  gap: 36px;
  align-items: center;
}

.company h2 {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-align: center;
}

.company p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.folder-list {
  columns: 2;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  color: var(--slate);
}

.folder-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  break-inside: avoid;
}

.folder-list svg {
  width: 16px;
  height: 16px;
  fill: var(--blue);
  flex: none;
}

.company .actions {
  text-align: right;
}

.facility {
  padding: 56px 0 10px;
  text-align: center;
}

.facility h2 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.facility p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--muted);
  line-height: 24px;
}

.masonry {
  columns: 4 200px;
  column-gap: 10px;
  padding-bottom: 48px;
}

.masonry button {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  break-inside: avoid;
}

.masonry img {
  display: block;
  width: 100%;
}

.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  margin-top: 28px;
}

.categories h3 {
  margin: 0 0 12px;
  color: var(--slate);
  font-size: 20px;
  font-weight: 500;
}

.icon-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--ink);
}

.icon-list svg {
  width: 16px;
  height: 16px;
  fill: var(--blue);
  flex: none;
}

.gallery-title {
  margin: 10px 0 22px;
  color: var(--blue);
  font-size: 32px;
  font-weight: 600;
  text-align: center;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 56px;
}

.product-gallery button {
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px solid #ececec;
  background: #fff;
  cursor: pointer;
}

.product-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: start;
  padding: 42px 0 36px;
}

.contact-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 112px;
  margin-bottom: 16px;
  border: 1px solid #e4e4e4;
  background: #fff;
}

.contact-card .mark {
  display: grid;
  place-items: center;
  background: var(--blue);
}

.contact-card .mark svg {
  width: 34px;
  height: 34px;
  fill: #fff;
}

.contact-card .info {
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
}

.contact-card h2 {
  margin: 0 0 8px;
  color: #6f6f6f;
  font-size: 28px;
  font-weight: 500;
}

.contact-card p {
  margin: 0;
  color: #666;
  line-height: 1.45;
}

.contact-card a {
  color: #666;
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--blue);
}

.archive-list {
  padding: 36px 0 64px;
}

.archive-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.archive-list h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 500;
}

.archive-list h2 a {
  color: var(--blue);
  text-decoration: none;
}

.site-footer {
  background: var(--banner);
  padding: 18px 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 21px;
  text-align: center;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.missing {
  padding: 48px 0 80px;
}

.missing p {
  color: var(--muted);
  font-size: 18px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  }

  .site-header {
    position: relative;
  }

  .site-nav.open {
    display: block;
  }

  .menu,
  .side-menu .wrap > ul {
    display: block;
  }

  .menu {
    padding: 8px 0 16px;
  }

  .menu > li > a {
    display: flex;
    margin: 6px 20px;
  }

  .sub,
  .sub .sub,
  .side-menu .sub {
    position: static;
    display: none;
    width: 100%;
    flex-basis: 100%;
    min-width: 0;
    box-shadow: none;
    padding: 0 0 8px 12px;
  }

  .menu .open > .sub,
  .side-menu .wrap > ul > li.open > .sub {
    display: block;
  }

  .sub-toggle,
  .side-menu .sub-toggle {
    display: inline-flex;
  }

  .menu > li.has-sub,
  .side-menu .wrap > ul > li.has-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .menu > li.has-sub > a {
    flex: 1;
  }

  .menu > li.has-sub > a .caret {
    display: none;
  }

  .menu > li.has-sub > .sub-toggle {
    position: absolute;
    top: 16px;
    right: 36px;
    margin: 0;
    color: #fff;
  }

  .sub-toggle {
    margin-right: 20px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
  }

  .side-menu .sub-toggle {
    color: #fff;
  }

  .slide,
  .split,
  .split.fit-image,
  .cards,
  .company-grid,
  .contact-grid,
  .product-gallery {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .product-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .slide {
    min-height: 0;
    padding-top: 32px;
  }

  .slide img {
    margin: 0 auto;
  }

  .company .actions,
  .content-head.center {
    text-align: center;
  }

  .page-banner h1,
  .slide h2 {
    font-size: 32px;
  }

  .slide .subhead,
  .content-head,
  .facility h2,
  .company h2 {
    font-size: 26px;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

  .logo img {
    width: 210px;
  }

  .header-row {
    min-height: 86px;
  }

  .cards,
  .categories,
  .product-gallery,
  .folder-list {
    grid-template-columns: 1fr;
    columns: 1;
  }

  .contact-card {
    grid-template-columns: 64px 1fr;
  }

  .contact-card h2 {
    font-size: 22px;
  }

  .hero-nav {
    display: none;
  }
}
