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

:root {
  --blue: #298fc4;
  --ink: #333;
  --muted: #898787;
  --label: #5a5a5a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Abel, "Trebuchet MS", sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  min-height: 84px;
  margin-bottom: -84px;
  padding: 8px 28px;
  background: rgba(41, 143, 196, 0.94);
}

.logo-link {
  display: inline-flex;
  line-height: 0;
}

.site-header img,
.site-footer .logo-link img {
  width: auto;
  height: 64px;
}

.hero {
  position: relative;
  height: clamp(420px, 62vw, 720px);
  background: #d7dde2;
  overflow: hidden;
}

.slides,
.slide {
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.02) 58%);
}

.slide.right::before {
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.02) 62%);
}

.slide-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: min(640px, 48vw);
  margin-left: max(8%, 64px);
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.slide.right .slide-copy {
  margin-right: max(8%, 64px);
  margin-left: auto;
}

.slide h2,
.kicker,
.slide p {
  margin: 0;
  font-weight: 400;
}

.slide h2 {
  font-size: clamp(2.7rem, 6.4vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.kicker,
.slide p {
  font-size: clamp(1.15rem, 2.3vw, 2.35rem);
  line-height: 1.2;
}

.slide p {
  margin-top: 0.45em;
}

.kicker {
  margin-bottom: 0.12em;
}

.arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 72px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 64px;
  line-height: 1;
  cursor: pointer;
}

.prev { left: 0; }
.next { right: 0; }

.arrow:hover,
.arrow:focus-visible {
  background: rgba(0, 0, 0, 0.12);
}

.dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #3d3d3d;
  background: rgba(255, 255, 255, 0.55);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

.band {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 20px;
}

.headline {
  max-width: 16em;
  margin: 3.2rem auto 2.4rem;
  color: var(--muted);
  font-size: clamp(1.8rem, 3.5vw, 2.95rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
}

.industries-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 36px 48px;
  align-items: center;
}

.industries {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.industries img {
  width: 74px;
  height: 74px;
}

.industries span {
  display: block;
  margin-top: 8px;
  color: var(--label);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promise {
  display: flex;
  align-items: center;
  min-height: 250px;
  padding: 28px 26px;
  color: #fff;
  background: var(--blue);
}

.promise p {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.7rem);
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.solutions {
  max-width: 720px;
  margin: 56px auto 0;
}

.solutions img {
  display: block;
  width: 100%;
  aspect-ratio: 650 / 413;
  object-fit: cover;
}

.solutions .features {
  margin-top: 28px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
}

.story {
  width: min(1080px, calc(100% - 48px));
  margin: 56px auto 72px;
  text-align: center;
}

.story p {
  margin: 0 0 1.6em;
  font-size: clamp(1.12rem, 1.8vw, 1.65rem);
  line-height: 1.55;
}

.story strong {
  font-weight: 400;
  letter-spacing: 0.02em;
}

.site-footer {
  padding: 36px 28px 28px;
  color: #fff;
  background: var(--blue);
}

.footer-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.site-footer address {
  font-style: normal;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
}

.site-footer a {
  text-decoration: none;
}

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

.social {
  display: flex;
  gap: 14px;
}

.social img {
  display: block;
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.copyright {
  margin: 28px 0 0;
  font-size: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .industries-layout,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .promise {
    min-height: 0;
  }

  .footer-main {
    justify-items: center;
    text-align: center;
  }

  .features {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 72px;
    margin-bottom: -72px;
    padding-inline: 16px;
  }

  .site-header img,
  .site-footer .logo-link img {
    height: 52px;
  }

  .hero {
    height: 460px;
  }

  .slide-copy {
    max-width: 70vw;
    margin-left: 52px;
  }

  .slide.right .slide-copy {
    margin-right: 52px;
  }

  .arrow {
    width: 44px;
    font-size: 42px;
  }

  .band,
  .story {
    width: min(100% - 32px, 1180px);
  }

  .industries img {
    width: 52px;
    height: 52px;
  }

  .industries span {
    font-size: 10px;
    letter-spacing: 0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}
