.top .wrap {
  padding-block: 4px;
  row-gap: 4px;
}

.top .contact-link {
  min-height: 28px;
}

.top .contact-icon {
  width: 18px;
  height: 18px;
}

.top .wrap .quick-support {
  min-height: 28px;
  padding: 4px 10px;
}

.nav {
  border-top: 3px solid #3154aa;
}

.nav .wrap {
  max-width: 1490px;
  min-height: 92px;
  padding-block: 15px;
}

.nav .logo {
  display: block;
  width: clamp(165px, 16vw, 215px);
  height: auto;
}

.static-welcome .welcome-brand-logo {
  display: inline-block;
  width: min(3.9em, 100%);
  height: auto;
  padding: clamp(8px, 1.1vw, 16px);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgb(5 19 45 / 22%);
  vertical-align: middle;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  :is(.btn, .scope-card, .service, .product) {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgb(12 36 74 / 18%);
  }

  :is(.scope-card, .service, .product):hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgb(12 36 74 / 12%);
  }

  .nav .links a,
  .text-link {
    transition: color 160ms ease, border-color 160ms ease;
  }

  .nav .links a:hover,
  .text-link:hover {
    text-decoration: underline;
    text-decoration-color: var(--gold, #e7a900);
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
}

.nav .links {
  margin-inline-start: auto;
  gap: clamp(24px, 3.1vw, 46px);
  font-size: 17px;
}

.nav .links a {
  padding-block: 8px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav .links .nav-quote {
  display: inline-flex;
  padding: 11px 17px;
  border-bottom: 0;
  text-decoration: none;
}

.nav .menu {
  font-size: 16px;
}

@media (max-width: 1200px) {
  .nav .links {
    gap: clamp(20px, 2.5vw, 30px);
    font-size: 16px;
  }
}

@media (max-width: 1050px) {
  .nav .wrap {
    min-height: 66px;
    padding-block: 10px;
  }

  .nav .logo {
    width: 155px;
  }

  .nav .menu {
    display: block;
  }

  .nav .links {
    margin-inline-start: 0;
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    gap: 0;
    flex-direction: column;
    align-items: stretch;
    max-height: min(65vh, 440px);
    overflow-y: auto;
    padding: 8px clamp(20px, 5vw, 42px) 16px;
    background: #fff;
    box-shadow: 0 8px 20px rgb(9 35 74 / 12%);
    font-size: 17px;
  }

  .nav .links.open {
    display: flex;
  }

  .nav .links a {
    padding-block: 13px;
  }

  .nav .links .nav-quote {
    align-self: flex-start;
    margin-top: 8px;
  }
}

.stepup-carousel {
  position: relative;
}

.full-slide-window .full-slide-track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  will-change: auto;
  transform: none;
}

.full-slide-window .full-slide-track::-webkit-scrollbar {
  display: none;
}

.full-slide-window .full-slide {
  scroll-snap-align: start;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: clamp(34px, 4vw, 44px);
  aspect-ratio: 1;
  padding: 0 0 3px;
  border: 1px solid rgb(255 255 255 / 78%);
  border-radius: 50%;
  background: #09234a;
  color: #fff;
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 12px rgb(9 35 74 / 25%);
}

.carousel-arrow:hover {
  background: #164991;
}

.carousel-arrow:focus-visible {
  outline: 3px solid #ffbd00;
  outline-offset: 3px;
}

.carousel-previous {
  left: clamp(7px, 1.2vw, 16px);
}

.carousel-next {
  right: clamp(7px, 1.2vw, 16px);
}

/* Shared frame for page banners, product slides and brand slides. */
:is(.full-slide-window, .products .carousel:has(#product-track), .brand-section .image-slider[data-carousel]) {
  width: min(100%, 960px);
  max-width: 960px;
  aspect-ratio: 2.45 / 1;
  margin: 24px auto 0;
  overflow: hidden;
  border: 1px solid #e0e8f5;
  border-radius: 9px;
  background: #fff;
}

.full-slide-hero .full-slide-window {
  width: min(calc(100% - 40px), 960px);
}

.full-slide-window .full-slide-track,
.full-slide-window .full-slide,
.full-slide-window .full-slide img,
.brand-section .image-slider[data-carousel] .slide,
.brand-section .image-slider[data-carousel] .slide img {
  height: 100%;
}

.full-slide-window .full-slide img {
  aspect-ratio: auto;
}

.full-slide-window.full-slide-fill .full-slide img {
  object-fit: cover;
  object-position: center;
}

.brand-section .image-slider[data-carousel] .slide img {
  max-width: 64%;
  margin-inline: auto;
  padding: clamp(20px, 5vw, 76px) 0;
}

#product-track {
  height: 100%;
  border: 0;
  border-radius: 0;
}

#product-track .product {
  grid-template-columns: 44% 56%;
  min-height: 0;
  height: 100%;
  padding-inline: clamp(26px, 4vw, 52px);
}

#product-track .product img {
  height: 100%;
  min-height: 0;
  padding: clamp(8px, 2vw, 26px);
}

#product-track .product div {
  min-width: 0;
  padding: clamp(10px, 2.8vw, 34px);
  border-top: 0;
}

@media (max-width: 700px) {
  :is(.full-slide-window, .products .carousel:has(#product-track), .brand-section .image-slider[data-carousel]) {
    aspect-ratio: 3 / 2;
  }

  #product-track .product h3 {
    font-size: clamp(14px, 4vw, 20px);
    margin-bottom: 6px;
  }

  #product-track .product p,
  #product-track .product-enquiry {
    font-size: clamp(11px, 2.9vw, 14px);
    line-height: 1.35;
  }

  #product-track .product-enquiry {
    margin-top: 8px;
  }
}
