:root {
  --canvas: #fff;
  --ink: #000;
  --accent: #5f69ae;
  --accent-hover: #4e5794;
  --nav-active: #fff;
  --muted: #aaafd0;
  --table-head: #e8edf4;
  --table-alt: #f7f8fb;
  --wrap-home: 1200px;
  --wrap-wide: 1720px;
  --wrap-article: 640px;
  --nav: 92px;
  --slider: 600px;
  --pill: 999px;
  --t: 200ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 200;
}
.skip:focus { left: 8px; }

.wrap {
  width: min(var(--wrap-home), calc(100% - 32px));
  margin-inline: auto;
}
.wrap--wide {
  width: min(var(--wrap-wide), calc(100% - 32px));
}
.article {
  width: min(var(--wrap-article), calc(100% - 32px));
  margin: 0 auto 64px;
}

/* Header */
.header {
  background: var(--ink);
  color: #fff;
  min-height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 12px 28px;
  position: relative;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  min-width: min(230px, 100%);
  flex: none;
}
.logo img, .logo svg { width: 51px; height: 51px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; }
.logo__tag { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.nav > li { position: relative; }
.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.15s linear, background-color 0.15s linear;
}
.nav a[aria-current="page"],
.nav a:hover { color: var(--nav-active); }
.nav a[aria-current="page"], .nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav > li:has(.nav__drop) > a::after {
  content: "▾";
  margin-left: 0.35em;
  font-size: 0.65em;
  vertical-align: 0.1em;
}
.nav__drop {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #000;
  padding: 8px 0;
  list-style: none;
  margin: 0;
  z-index: 20;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s linear, transform 0.15s linear, visibility 0.15s linear;
}
.nav__drop a { display: block; padding: 8px 16px; }
.nav__drop a:hover { background-color: #1a1a1a; }
.nav li:hover > .nav__drop,
.nav li:focus-within > .nav__drop {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
#menu-btn {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 15px;
}
#menu-btn span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

#menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #000;
  color: #fff;
  z-index: 99;
  padding: 24px;
  overflow: auto;
}
#menu.is-open {
  display: block;
  animation: cover-in 0.4s linear;
}
@keyframes cover-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
#menu a { color: #fff; text-decoration: none; display: block; padding: 10px 0; font-size: 18px; }
#menu .menu-close {
  background: none; border: 0; color: #fff; float: right; cursor: pointer; font-size: 15px;
}
#menu .sub {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  padding-left: 16px;
  transition: max-height 0.15s linear, opacity 0.15s linear, visibility 0.15s linear;
}
#menu .sub.is-open {
  max-height: 20rem;
  opacity: 1;
  visibility: visible;
}
#menu .sub-toggle {
  background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 13px; padding: 0 0 8px;
}

/* Type */
.mast {
  padding: 80px 28px 64px;
  text-align: center;
}
.home .mast {
  min-height: 256px;
  display: grid;
  place-items: center;
  padding: 48px 28px;
}
.mast h1 {
  margin: 0;
  font-size: 84px;
  font-weight: 800;
  line-height: 1.15;
}
h2 { font-family: Inter, system-ui, sans-serif; font-size: 48px; font-weight: 700; line-height: 1.2; margin: 0 0 16px; }
h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; }
h4 { font-family: Inter, system-ui, sans-serif; font-size: 32px; font-weight: 700; margin: 0 0 16px; }
.lede { font-size: 21px; margin: 0 0 24px; }
.center { text-align: center; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 0;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s linear, color 0.15s linear;
}
.btn:hover { background: var(--accent-hover); }
.btn--ghost {
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  padding: 14px;
}
.btn--ghost:hover { color: #fff; }
.chip {
  display: inline-block;
  border-radius: var(--pill);
  padding: 13px 24px;
  font-size: 16px;
  font-weight: 700;
  background: #fff;
  color: #000;
  text-decoration: none;
  transition: background-color 0.3s linear, color 0.3s linear, border-color 0.3s linear;
}
.chip--ghost { background: transparent; color: #fff; border: 2px solid #fff; }

/* Rail / banner */
.rail, .banner {
  position: relative;
  height: var(--slider);
  background: #111;
  overflow: hidden;
  color: #fff;
}
.rail__track { height: 100%; }
.rail__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s linear;
  background: #111 center / cover no-repeat;
}
.rail__slide::before, .banner--shade::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 60%); pointer-events: none; }
.rail__slide.is-on { opacity: 1; z-index: 1; }
.rail__copy, .banner__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 72px;
  max-width: none;
}
.rail__eye {
  font-size: 14px;
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}
.rail__title, .banner h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 20px;
  color: #fff;
}
.rail__chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.rail__prev, .rail__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 12px;
  opacity: 0.55;
  transition: opacity 0.4s linear;
}
.rail__prev:hover, .rail__next:hover { opacity: 1; }
.rail__prev { left: 8px; }
.rail__next { right: 8px; }
.rail__dots {
  position: absolute;
  bottom: 16px;
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.rail__dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: #fff; opacity: 0.4; padding: 0; cursor: pointer;
  transition: opacity 0.4s linear, background-color 0.4s linear;
}
.rail__dots button.is-on { opacity: 1; }

.home-intro, .home-prod { padding: 56px 0 24px; }
.home-prod { padding-top: 24px; }

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0 48px;
  width: min(1280px, calc(100% - 40px));
}
.tile {
  background: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.tile img {
  width: 100%;
  aspect-ratio: 389 / 171;
  object-fit: cover;
  transition: opacity 0.15s linear;
}
.tile:hover img { opacity: 0.88; }
.tile__body { padding: 16px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.tile__eye { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.tile p { font-size: 15px; margin: 0 0 16px; }
.tile .btn { align-self: center; margin-top: auto; }
.tile .btn--ghost { align-self: center; }

/* Offer / industries */
.offer {
  background: #000;
  color: #fff;
  padding: 48px 28px 56px;
  text-align: center;
}
.offer h2 { font-size: 32px; }
.offer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  max-width: 900px;
  margin: 40px auto 0;
}
.offer__item { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 16px; }
.offer__item svg { width: 127px; height: 127px; }

.inds { padding: 20px 40px 40px; text-align: center; }
.inds__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px 16px;
  max-width: 1200px;
  margin: 20px auto 0;
  text-align: left;
}
.inds__grid > * { min-width: 0; }
.inds__item { display: flex; align-items: center; gap: 12px; font-size: 16px; min-width: 0; overflow-wrap: anywhere; }
.inds__item svg {
  width: 75px;
  height: 75px;
  flex: none;
  padding: 14px;
  border: 1.5px solid #888;
  border-radius: 50%;
  box-sizing: border-box;
}

/* Inner */
.banner { height: var(--slider); background: #111 center / cover no-repeat; }
img.about { margin-inline: auto; }
.facts { padding-left: 1.2em; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 32px 0;
}
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery--sq img { aspect-ratio: 1; }
.hero-sq { width: min(500px, 100%); margin: 24px auto; }
.hero-sq img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 20px 0 32px;
}
.table th { background: var(--table-head); text-align: left; font-weight: 600; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid #eee; }
.table tbody tr:nth-child(even) { background: var(--table-alt); }

.make { list-style: none; padding: 0; margin: 0 0 32px; }
.make li { padding: 6px 0; }
.steps { list-style: none; padding: 0; margin: 0 0 32px; counter-reset: st; }
.steps li { padding: 10px 0 10px 36px; position: relative; }
.steps li::before {
  counter-increment: st;
  content: counter(st) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
}

.close { padding: 24px 0 48px; }
.close p { margin: 8px 0; }
.map {
  aspect-ratio: 16 / 9;
  background: #e8edf4;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: #333;
  margin: 16px 0 48px;
}

/* Footer */
.foot {
  background: #000;
  color: #fff;
  padding: 48px 28px 40px;
}
.foot__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 32px;
  width: min(var(--wrap-wide), 100%);
  margin: 0 auto;
}
.social-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 8px; background: #242424; }
.social-links a:hover { background: #444; }
.social-links img { display: block; width: 24px; height: 24px; object-fit: contain; }
.foot__grid > div { min-width: 0; overflow-wrap: anywhere; }
.foot a { color: #fff; text-decoration: none; transition: color 0.15s linear; }
.foot a:hover { color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot .logo { margin-top: 20px; }
.copy {
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  min-height: 113px;
  padding: 24px;
  font-size: 15px;
}
.copy a { color: #000; }

@media (max-width: 79.99em) {
  .mast h1 { font-size: 64px; }
  .rail__title, .banner h2 { font-size: 40px; }
}

@media (max-width: 63.99em) {
  .header { padding: 10px 16px; }
  .nav { gap: 6px 14px; }
  .logo { min-width: 0; }
  .mast h1 { font-size: 48px; }
  .rail__title, .banner h2 { font-size: 36px; }
  .inds__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 47.99em) {
  .header { min-height: 106px; }
  .nav { display: none; }
  #menu-btn { display: block; }
  #menu-btn span:not(.visually-hidden) { display: none; }
  #menu-btn .visually-hidden {
    background: transparent;
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
  }
  .mast { padding: 40px 16px 32px; text-align: center; }
  .home .mast { min-height: 0; place-items: center; padding: 40px 16px 32px; }
  .mast h1 { font-size: 40px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .offer__grid, .inds__grid { grid-template-columns: 1fr 1fr; }
  .gallery, .foot__grid { grid-template-columns: 1fr; }
  .rail, .banner { height: var(--slider); }
  .rail__copy, .banner__copy {
    align-items: flex-start;
    text-align: left;
    padding: 24px 16px;
  }
  .rail__chips { justify-content: flex-start; }
  .inds { padding: 24px 16px 32px; }
  h2 { font-size: 32px; }
  .table { display: block; overflow-x: auto; }
}

@media (max-width: 30em) {
  .tiles { grid-template-columns: 1fr; }
  .inds__grid { grid-template-columns: 1fr; }
  .mast h1 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .rail__slide { transition: none; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  .tile:hover img { opacity: 1; }
}
