:root {
  --black: #030303;
  --ink: #282936;
  --muted: #65708b;
  --red: #d4073c;
  --red-dark: #b80432;
  --line: #dedfe4;
  --soft: #f1f2f5;
  --white: #ffffff;
  --shadow: 0 3px 11px rgba(20, 22, 31, 0.18);
  --container: 920px;
  --wide: 1130px;
  --header-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Nunito Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.58;
  background: var(--white);
  text-rendering: geometricPrecision;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  min-height: var(--header-height);
  padding: 0 20px;
  color: var(--white);
  background: var(--black);
}

.brand {
  display: inline-flex;
  width: clamp(178px, 16vw, 218px);
  text-decoration: none;
}

.brand-mark {
  width: 100%;
  height: auto;
  display: block;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: 6px;
  font-size: 13px;
  font-weight: 900;
}

.primary-nav a,
.phone {
  text-decoration: none;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.96);
}

.primary-nav a:hover,
.phone:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  justify-self: end;
}

.phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.phone svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 38px;
  padding: 12px 25px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.button-light {
  min-width: 170px;
  color: #252837;
  background: #edf0f4;
  border-color: #c6cad2;
}

.button-small {
  min-width: 132px;
  min-height: 28px;
  padding: 9px 14px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 0;
  background: transparent;
  color: var(--white);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 498px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background: #111;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(6, 18, 34, 0.52), transparent 28%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.16)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80") center / cover;
  transform: scale(1.02);
}

.hero-media::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(103deg, transparent 0 42px, rgba(0, 68, 140, 0.3) 43px 49px, transparent 50px 92px),
    repeating-linear-gradient(0deg, transparent 0 118px, rgba(205, 91, 10, 0.24) 119px 126px, transparent 127px 236px);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.36);
}

.hero-content {
  position: relative;
  width: min(100% - 32px, 760px);
  padding-top: 10px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(45px, 5.2vw, 65px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.hero h1 span {
  color: var(--red);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 70px;
  margin-top: 42px;
}

.stats div {
  min-width: 150px;
}

.stats strong {
  display: block;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 800;
}

.capabilities {
  padding: 48px 20px 88px;
  background: var(--white);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 72px;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.capability {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: start;
}

.capability-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 40px;
  margin-top: 7px;
  color: var(--red);
}

.capability-icon svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.capability-icon .icon-knockout {
  fill: var(--white);
}

.capability h3 {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.4px;
}

.capability p {
  max-width: 420px;
  margin: 0;
  color: #20212b;
  font-size: 14.5px;
}

.capability a {
  color: var(--red);
  font-weight: 900;
}

.services-section {
  padding: 0 0 84px;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--white) 0 60%, var(--soft) 60% 100%);
}

.section-heading {
  width: min(100% - 40px, 560px);
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2,
.contact-inner h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 900;
  line-height: 1.13;
  letter-spacing: -0.7px;
}

.section-heading p {
  margin: 20px auto 0;
  color: #64708d;
  font-size: 18px;
  line-height: 1.45;
}

.services-shell {
  position: relative;
  width: min(100% - 40px, var(--wide));
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
}

.service-card {
  overflow: hidden;
  background: var(--white);
  border-radius: 3px;
  box-shadow: var(--shadow);
}

.service-image {
  position: relative;
  overflow: hidden;
  min-height: 249px;
  background-color: #d6dde3;
  background-position: center;
  background-size: cover;
}

.image-racking {
  background:
    radial-gradient(circle at 55% 5%, rgba(255, 255, 255, 0.95) 0 8px, transparent 9px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), transparent 14% 86%, rgba(255, 255, 255, 0.82)),
    linear-gradient(180deg, #202c38 0 8%, #6f7c87 8% 11%, #1c2a36 11% 100%);
}

.image-racking::before,
.image-racking::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-racking::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 26px, #204c77 27px 33px, transparent 34px 60px),
    repeating-linear-gradient(180deg, transparent 0 46px, #f06d19 47px 55px, transparent 56px 91px);
  transform: perspective(180px) rotateX(18deg) scaleX(1.1);
  transform-origin: 50% 100%;
}

.image-racking::after {
  background:
    linear-gradient(90deg, transparent 0 10%, rgba(255, 255, 255, 0.82) 48% 52%, transparent 90%),
    repeating-linear-gradient(90deg, rgba(245, 248, 249, 0.85) 0 18px, rgba(176, 184, 191, 0.85) 19px 38px);
  clip-path: polygon(37% 0, 63% 0, 74% 100%, 26% 100%);
  opacity: 0.72;
}

.image-boxes {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.45), transparent 20% 85%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, #29313b 0 11%, #101720 11% 100%);
}

.image-boxes::before,
.image-boxes::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-boxes::before {
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, #0b1017 35px 43px, transparent 44px 78px),
    repeating-linear-gradient(180deg, transparent 0 54px, #e4e8ef 55px 61px, transparent 62px 105px);
}

.image-boxes::after {
  background:
    repeating-linear-gradient(90deg, #456fa4 0 28px, #83a9d7 29px 54px, transparent 55px 78px),
    linear-gradient(180deg, transparent 0 24px, rgba(255, 255, 255, 0.08) 25px 100%);
  clip-path: inset(32px 18px 20px 18px);
  opacity: 0.9;
}

.image-robotics {
  background:
    radial-gradient(circle at 25% 32%, rgba(255, 255, 255, 0.9) 0 44px, transparent 45px),
    linear-gradient(135deg, #eef3f6 0 40%, #c9d1d8 40% 56%, #f8fbfc 56% 100%);
}

.image-robotics::before,
.image-robotics::after {
  position: absolute;
  content: "";
}

.image-robotics::before {
  left: -38px;
  right: -38px;
  top: 64px;
  height: 112px;
  border: 16px solid #1b4b78;
  border-left-color: transparent;
  border-radius: 50%;
  transform: rotate(-4deg);
}

.image-robotics::after {
  left: -20px;
  right: -20px;
  top: 96px;
  height: 72px;
  background:
    repeating-linear-gradient(90deg, #111b25 0 13px, #677887 14px 26px, #111b25 27px 39px),
    linear-gradient(#1f3345, #1f3345);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.image-workbenches {
  background:
    linear-gradient(180deg, #e8edf1 0 34%, #9ba7b2 34% 100%);
}

.image-workbenches::before,
.image-workbenches::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-workbenches::before {
  background:
    linear-gradient(90deg, #1d2a36 0 11%, transparent 11% 89%, #1d2a36 89% 100%),
    repeating-linear-gradient(90deg, #d3d8de 0 20px, #f5f7f8 21px 42px),
    linear-gradient(180deg, transparent 0 58%, #293746 58% 68%, transparent 68% 100%);
  clip-path: polygon(10% 42%, 90% 42%, 82% 80%, 18% 80%);
}

.image-workbenches::after {
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, #254c73 39px 46px, transparent 47px 86px),
    linear-gradient(90deg, transparent 0 18%, #e56c19 18% 82%, transparent 82% 100%);
  clip-path: polygon(12% 64%, 88% 64%, 94% 74%, 6% 74%);
}

.image-storage {
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.9) 0 9px, transparent 10px),
    linear-gradient(180deg, #eef2f4 0 26%, #c1c9d0 26% 100%);
}

.image-storage::before,
.image-storage::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-storage::before {
  background:
    repeating-linear-gradient(90deg, #344454 0 42px, #4c5f70 43px 84px, transparent 85px 94px),
    repeating-linear-gradient(180deg, transparent 0 34px, rgba(255, 255, 255, 0.72) 35px 39px, transparent 40px 72px);
  clip-path: inset(32px 18px 18px round 2px);
}

.image-storage::after {
  background:
    radial-gradient(circle at 32% 49%, #e56719 0 5px, transparent 6px),
    radial-gradient(circle at 65% 49%, #e56719 0 5px, transparent 6px),
    linear-gradient(90deg, transparent 0 48%, rgba(0, 0, 0, 0.32) 49% 51%, transparent 52% 100%);
}

.image-security {
  background:
    radial-gradient(circle at 80% 18%, rgba(212, 7, 60, 0.95) 0 28px, transparent 29px),
    linear-gradient(145deg, #15212d 0 48%, #27394b 49% 100%);
}

.image-security::before,
.image-security::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-security::before {
  background:
    linear-gradient(#8ea5bb, #8ea5bb) 22% 36% / 50px 36px no-repeat,
    linear-gradient(#c9d5df, #c9d5df) 62% 36% / 50px 36px no-repeat,
    linear-gradient(#59738c, #59738c) 22% 62% / 50px 36px no-repeat,
    linear-gradient(#9eb0c1, #9eb0c1) 62% 62% / 50px 36px no-repeat;
}

.image-security::after {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.45) 48% 52%, transparent 52%),
    linear-gradient(180deg, transparent 0 49%, rgba(255, 255, 255, 0.45) 49% 53%, transparent 53%);
  clip-path: inset(58px 36px 44px round 5px);
}

.image-supply-chain {
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.92) 0 46px, transparent 47px),
    linear-gradient(135deg, #edf2f4 0 38%, #c8d1d9 38% 60%, #f8fafb 60% 100%);
}

.image-supply-chain::before,
.image-supply-chain::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-supply-chain::before {
  background:
    radial-gradient(circle at 22% 72%, #d4073c 0 11px, transparent 12px),
    radial-gradient(circle at 50% 35%, #1b4b78 0 14px, transparent 15px),
    radial-gradient(circle at 78% 72%, #e56719 0 11px, transparent 12px),
    linear-gradient(28deg, transparent 0 42%, #1b4b78 43% 47%, transparent 48% 100%),
    linear-gradient(152deg, transparent 0 42%, #1b4b78 43% 47%, transparent 48% 100%);
}

.image-supply-chain::after {
  background:
    repeating-linear-gradient(90deg, #324354 0 14px, #8192a3 15px 26px, transparent 27px 42px);
  clip-path: polygon(8% 78%, 92% 78%, 86% 88%, 14% 88%);
}

.image-utilities {
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.95) 0 24px, transparent 25px),
    linear-gradient(180deg, #eaf2f6 0 46%, #8ca0ae 46% 100%);
}

.image-utilities::before,
.image-utilities::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-utilities::before {
  background:
    repeating-linear-gradient(90deg, #163f64 0 38px, #2c648e 39px 76px, transparent 77px 86px),
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(255, 255, 255, 0.72) 29px 33px, transparent 34px 56px);
  clip-path: polygon(6% 48%, 82% 34%, 94% 74%, 16% 91%);
}

.image-utilities::after {
  background:
    linear-gradient(90deg, transparent 0 20%, #263746 20% 28%, transparent 28% 100%),
    linear-gradient(180deg, transparent 0 72%, #d4073c 72% 82%, transparent 82% 100%);
}

.image-racking,
.image-boxes,
.image-robotics,
.image-workbenches,
.image-storage,
.image-security,
.image-supply-chain,
.image-utilities {
  background-position: center;
  background-size: cover;
}

.image-racking::before,
.image-racking::after,
.image-boxes::before,
.image-boxes::after,
.image-robotics::before,
.image-robotics::after,
.image-workbenches::before,
.image-workbenches::after,
.image-storage::before,
.image-storage::after,
.image-security::before,
.image-security::after,
.image-supply-chain::before,
.image-supply-chain::after,
.image-utilities::before,
.image-utilities::after {
  display: none;
}

.image-racking {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/racking.webp");
}

.image-boxes {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/bin2.webp");
}

.image-robotics {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/robotics.webp");
}

.image-workbenches {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/workbenches.webp");
}

.image-storage {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/industrial-storage.webp");
}

.image-security {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/cctv.png");
}

.image-supply-chain {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/inventory.webp");
}

.image-utilities {
  background-image: url("https://pub-1a426af448084375b49bad60074d3ea6.r2.dev/utilities.webp");
}

.service-body {
  padding: 20px 24px 24px;
}

.service-body h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.25px;
}

.service-body p {
  margin: 0;
  color: #20212b;
  font-size: 14.5px;
  line-height: 1.56;
}

.contact-section {
  padding: 0 20px 58px;
  background: var(--soft);
}

.contact-inner {
  width: min(100%, 650px);
  margin: 0 auto;
  text-align: center;
}

.contact-inner h2 {
  font-size: clamp(31px, 3.7vw, 43px);
}

.contact-inner h2 span {
  color: var(--red);
}

.contact-inner p {
  width: min(100%, 590px);
  margin: 22px auto 24px;
  color: #20212b;
  font-size: 14.5px;
  line-height: 1.55;
}

.site-footer {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 70px;
  padding: 20px 64px;
  color: rgba(255, 255, 255, 0.68);
  background: var(--black);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
}

.site-footer a {
  color: var(--white);
}

.back-to-top {
  position: absolute;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  text-decoration: none;
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.7;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 16px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .primary-nav,
  .header-actions {
    grid-column: 1 / -1;
    display: none;
  }

  body.nav-open .primary-nav,
  body.nav-open .header-actions {
    display: flex;
  }

  .primary-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 6px 0 10px;
  }

  .header-actions {
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 18px;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    padding-inline: 16px;
  }

  .brand {
    width: 188px;
  }

  .header-actions {
    flex-direction: column;
  }

  .hero {
    min-height: 570px;
  }

  .hero h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .hero-actions,
  .stats {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    gap: 12px;
  }

  .stats {
    gap: 24px;
    margin-top: 34px;
  }

  .capabilities {
    padding-top: 42px;
    padding-bottom: 70px;
  }

  .capability {
    grid-template-columns: 38px 1fr;
    gap: 16px;
  }

  .capability h3 {
    font-size: 24px;
  }

  .services-section {
    padding-bottom: 76px;
  }

  .services-shell {
    width: min(100% - 32px, 420px);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card {
    min-height: 0;
  }

  .contact-section {
    padding-bottom: 62px;
  }

  .site-footer {
    min-height: 96px;
    padding: 22px 48px 22px 22px;
    text-align: left;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
