/* ==========================================================================
   ADVAITH CONTROLS & ENGINEERING — style.css
   All website styling lives in this one file.

   Contents (search for the numbered titles to jump):
     1. Fonts and colours
     2. Base and sections
     3. Buttons and links
     4. Header and mobile menu
     5. Hero slider (home)
     6. Company highlights
     7. Scroll reveal animations
     8. About ACE
     9. Engineering solutions grid
    10. Manufacturing timeline
    11. Why choose ACE
    12. Core services (home tabs)
    13. Interactive panel line-up
    14. Industries
    15. Testimonials
    16. Partner brands strip
    17. Call to action
    18. Vision, mission and quality
    19. Inner page banner
    20. Services page
    21. Products page and photo popup
    22. Clients page
    23. Contact details and enquiry form
    24. Footer and floating buttons
    25. Colour and motion upgrades (gradients, glows, tilt, progress bar)
    26. Recent work strip and commissioning video
    27. Reduced motion
   ========================================================================== */

/* 1. Fonts and colours
   Brand colours come from the ACE logo: teal #18a0b0 and orange #e7832d. */
@font-face {
  font-family: Sora;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/sora-latin-400-normal.woff2) format("woff2")
}
@font-face {
  font-family: Sora;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/sora-latin-600-normal.woff2) format("woff2")
}
@font-face {
  font-family: Sora;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/sora-latin-700-normal.woff2) format("woff2")
}
@font-face {
  font-family: Inter;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-latin-400-normal.woff2) format("woff2")
}
@font-face {
  font-family: Inter;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-latin-500-normal.woff2) format("woff2")
}
@font-face {
  font-family: Inter;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-latin-600-normal.woff2) format("woff2")
}

:root {
  --navy: #0b1d2e;
  --navy-2: #11283d;
  --navy-3: #183650;
  --graphite: #161c22;
  --charcoal: #252d35;
  --grey: #f2f4f5;
  --steel: #e4e9ec;
  --line: #d5dce1;
  --ink: #0f1a24;
  --muted: #56636e;
  --teal: #18a0b0;
  --teal-d: #0e7a87;
  --teal-l: #5fd0dc;
  --orange: #e7832d;
  --orange-l: #f3a15a;
  --orange-d: #c86a16;
  --head: Sora, "Segoe UI", system-ui, sans-serif;
  --body: Inter, "Segoe UI", system-ui, sans-serif;
  --r: 6px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --head-h: 84px;
  --bs-body-font-family: var(--body);
  --bs-body-color: var(--ink);
  --bs-body-bg: #fff;
  --bs-link-color-rgb: 14, 122, 135;
  --bs-link-hover-color-rgb: 200, 106, 22;
}
/* 2. Base and sections */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}
body {
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip
}
h1,
h2,
h3,
h4,
.h3,
.h4,
.h5 {
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.12;
  color: inherit
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem)
}
h3,
.h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem)
}
.h4 {
  font-size: 1.25rem
}
p {
  max-width: 68ch
}
.big {
  font-size: 1.2rem;
  line-height: 1.55;
  font-weight: 500;
  color: var(--ink)
}
img {
  max-width: 100%;
  height: auto
}
a {
  text-underline-offset: 3px
}
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px
}
.skip {
  position: absolute;
  z-index: 3000;
  background: #fff;
  padding: .6rem 1rem;
  top: 8px;
  left: 8px
}
.ic {
  width: 1.25em;
  height: 1.25em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  vertical-align: -.22em
}
.req {
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: .25rem
}
.container-xxl {
  --bs-gutter-x: 2rem
}
@media (min-width:1200px) {
  .container-xxl {
    --bs-gutter-x: 4rem
  }
}

/* Sections */
.sec {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  position: relative
}
.sec-grey {
  background: var(--grey)
}
.sec-steel {
  background: var(--steel)
}
.sec-navy {
  background: var(--navy);
  color: #dbe4ea
}
.sec-graphite {
  background: var(--graphite);
  color: #d6dde2
}
.sec-navy h2,
.sec-navy h3,
.sec-graphite h2,
.sec-graphite h3 {
  color: #fff
}
.sec-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem)
}
.sec-head h2 {
  position: relative;
  padding-top: 1.1rem;
  margin-bottom: .9rem
}
.sec-head h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--orange)
}
.sec-head h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50px;
  width: 10px;
  height: 3px;
  background: var(--teal)
}
.sec-head p {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0
}
.sec-head.on-dark p {
  color: #a9b8c3
}
.sec-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem)
}
.sec-split .sec-head {
  margin-bottom: 0
}

/* 3. Buttons and links */
.btn {
  --bs-btn-border-radius: var(--r);
  font-weight: 600;
  font-size: 1rem;
  padding: .85rem 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color .3s, background-color .3s, border-color .3s, transform .3s var(--ease)
}
.btn .ic {
  transition: transform .3s var(--ease)
}
.btn:hover .ic {
  transform: translateX(4px)
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease)
}
.btn:hover::before,
.btn:focus-visible::before {
  transform: scaleX(1);
  transform-origin: left
}
.btn-accent {
  background: var(--orange);
  color: #14100c;
  border: 0
}
.btn-accent::before {
  background: #fff
}
.btn-accent:hover,
.btn-accent:focus-visible {
  color: var(--navy);
  background: var(--orange)
}
.btn-line {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .55);
  background: transparent
}
.btn-line::before {
  background: #fff
}
.btn-line:hover,
.btn-line:focus-visible {
  color: var(--navy);
  border-color: #fff
}
.btn-dark {
  background: var(--navy);
  color: #fff;
  border: 0
}
.btn-dark::before {
  background: var(--teal-d)
}
.btn-dark:hover,
.btn-dark:focus-visible {
  color: #fff;
  background: var(--navy)
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: .3rem 0;
  border-bottom: 2px solid var(--orange)
}
.link-arrow .ic {
  transition: transform .3s var(--ease)
}
.link-arrow:hover {
  color: var(--orange-d)
}
.link-arrow:hover .ic {
  transform: translateX(5px)
}
.link-arrow.on-dark {
  color: #fff
}
.link-arrow.on-dark:hover {
  color: var(--orange-l)
}
.round {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .4);
  background: rgba(11, 29, 46, .35);
  color: #fff;
  transition: background .25s, border-color .25s, color .25s;
  backdrop-filter: blur(6px)
}
.round:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy)
}
.round.dark {
  border-color: var(--line);
  background: #fff;
  color: var(--navy)
}
.round.dark:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}

/* 4. Header and mobile menu */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1030;
  transition: background .35s, box-shadow .35s, transform .35s var(--ease)
}
.site-head .navbar {
  padding: 14px 0;
  transition: padding .35s
}
.brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: var(--r);
  padding: 8px 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
  transition: box-shadow .35s, padding .35s
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
  transition: height .35s
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: #fff;
  padding: .5rem 1rem !important;
  position: relative;
  transition: color .25s
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .2rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease)
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1)
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff
}
body:not(.has-hero) .site-head,
.site-head.is-solid {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(11, 29, 46, .08)
}
.has-hero .site-head:not(.is-solid) {
  background: linear-gradient(180deg, rgba(6, 16, 26, .7), rgba(6, 16, 26, 0))
}
.site-head.is-solid .navbar {
  padding: 8px 0
}
.site-head.is-solid .brand {
  box-shadow: none;
  padding: 4px 6px
}
.site-head.is-solid .brand img {
  height: 40px
}
.site-head.is-solid .nav-link,
body:not(.has-hero) .nav-link {
  color: var(--ink)
}
.site-head.is-solid .nav-link:hover,
.site-head.is-solid .nav-link.active {
  color: var(--navy)
}
.site-head.is-hidden {
  transform: translateY(-100%)
}
body:not(.has-hero) main {
  padding-top: var(--head-h)
}
.nav-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: var(--r);
  background: var(--orange);
  display: grid;
  place-content: center;
  gap: 5px;
  padding: 0
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy)
}
.menu-contact {
  display: grid;
  gap: .8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .15)
}
.menu-contact a {
  color: #dbe4ea;
  text-decoration: none;
  display: flex;
  gap: .6rem;
  align-items: center
}
@media (max-width:991.98px) {
  .brand img {
    height: 36px
  }
  .brand {
    padding: 6px 10px
  }
  .offcanvas-lg {
    background: var(--navy);
    color: #fff;
    --bs-offcanvas-width: min(360px, 88vw)
  }
  .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, .12)
  }
  .menu-logo {
    height: 34px;
    width: auto;
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px
  }
  .offcanvas-body {
    display: flex;
    flex-direction: column
  }
  .offcanvas-lg .nav-link,
  .site-head.is-solid .offcanvas-lg .nav-link {
    color: #fff !important;
    font-family: var(--head);
    font-size: 1.45rem;
    padding: .7rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08)
  }
  .offcanvas-lg .nav-link::after {
    left: 0;
    right: auto;
    width: 28px;
    bottom: .6rem
  }
  .offcanvas-lg .btn-accent {
    margin-top: 1.5rem;
    justify-content: center
  }
  .offcanvas-lg .nav-item {
    opacity: 0;
    transform: translateX(16px);
    transition: opacity .4s, transform .4s var(--ease)
  }
  .offcanvas-lg.show .nav-item {
    opacity: 1;
    transform: none
  }
  .offcanvas-lg.show .nav-item:nth-child(2) {
    transition-delay: .05s
  }
  .offcanvas-lg.show .nav-item:nth-child(3) {
    transition-delay: .1s
  }
  .offcanvas-lg.show .nav-item:nth-child(4) {
    transition-delay: .15s
  }
  .offcanvas-lg.show .nav-item:nth-child(5) {
    transition-delay: .2s
  }
  .offcanvas-lg.show .nav-item:nth-child(6) {
    transition-delay: .25s
  }
}

/* 5. Hero slider (home) */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  max-height: 1100px;
  background: var(--navy);
  color: #fff;
  overflow: hidden
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.1s ease, visibility 0s 1.1s
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 1.1s ease, visibility 0s
}
.slide-media {
  position: absolute;
  inset: 0
}
.slide-img,
.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.slide-video {
  opacity: 0;
  transition: opacity .6s
}
.slide-video.is-playing {
  opacity: 1
}
.slide.is-active .slide-img {
  animation: kenburns 9s ease-out both
}
@keyframes kenburns {
  from {
    transform: scale(1.1)
  }
  to {
    transform: scale(1)
  }
}
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 16, 26, .88) 0%, rgba(6, 16, 26, .62) 42%, rgba(6, 16, 26, .12) 80%), linear-gradient(0deg, rgba(6, 16, 26, .75), rgba(6, 16, 26, 0) 38%)
}
.slide-copy {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  padding-bottom: 8rem
}
.slide-h {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  max-width: 13ch;
  margin: 0 0 1.4rem;
  color: #fff
}
.slide-p {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  max-width: 44ch;
  color: #d4dee5;
  margin-bottom: 2.2rem
}
.slide-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem
}
.slide .slide-h,
.slide .slide-p,
.slide .slide-cta {
  opacity: 0;
  transform: translateY(34px)
}
.slide.is-active .slide-h,
.slide.is-active .slide-p,
.slide.is-active .slide-cta {
  opacity: 1;
  transform: none;
  transition: opacity .9s var(--ease), transform .9s var(--ease)
}
.slide.is-active .slide-h {
  transition-delay: .35s
}
.slide.is-active .slide-p {
  transition-delay: .55s
}
.slide.is-active .slide-cta {
  transition-delay: .75s
}
.slide-h::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 1.4rem;
  background: linear-gradient(90deg, var(--orange) 70%, var(--teal) 70%);
  transform: scaleX(0);
  transform-origin: left
}
.slide.is-active .slide-h::after {
  transform: scaleX(1);
  transition: transform 1s var(--ease) 1s
}
.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem
}
.hero-dots {
  display: flex;
  gap: 1.2rem;
  flex: 1;
  max-width: 560px
}
.dot {
  flex: 1;
  background: none;
  border: 0;
  padding: .4rem 0;
  color: #9fb0bd;
  text-align: left;
  font: 600 .85rem var(--head);
  display: grid;
  gap: .5rem
}
.dot.is-active,
.dot:hover {
  color: #fff
}
.dot-bar {
  height: 2px;
  background: rgba(255, 255, 255, .25);
  display: block;
  overflow: hidden
}
.dot-bar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left
}
.dot.is-done .dot-bar i {
  transform: scaleX(1)
}
.dot.is-active .dot-bar i {
  animation: dotfill var(--slide-ms, 7000ms) linear forwards
}
.hero.is-paused .dot.is-active .dot-bar i {
  animation-play-state: paused
}
@keyframes dotfill {
  to {
    transform: scaleX(1)
  }
}
.hero-arrows {
  display: flex;
  gap: .6rem
}
.hero [data-pause] .when-paused {
  display: none
}
.hero.is-paused [data-pause] .when-paused {
  display: block
}
.hero.is-paused [data-pause] .when-playing {
  display: none
}
@media (max-width:767.98px) {
  .hero {
    min-height: 600px
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(6, 16, 26, .95) 10%, rgba(6, 16, 26, .55) 60%, rgba(6, 16, 26, .35))
  }
  .slide-copy {
    justify-content: flex-end;
    padding-bottom: 7.5rem
  }
  .slide-h {
    font-size: clamp(2.1rem, 9.5vw, 2.8rem)
  }
  .slide-cta .btn {
    flex: 1 1 auto;
    justify-content: center
  }
  .hero-dots {
    gap: .6rem
  }
  .dot-n {
    display: none
  }
  .hero-arrows .round {
    width: 40px;
    height: 40px
  }
}

/* 6. Company highlights */
.facts {
  background: var(--navy-2);
  color: #fff;
  position: relative;
  z-index: 2
}
.facts-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr)
}
.facts-row li {
  display: flex;
  gap: 1rem;
  padding: 2.2rem 1.6rem;
  border-left: 1px solid rgba(255, 255, 255, .1)
}
.facts-row li:first-child {
  border-left: 0;
  padding-left: 0
}
.facts-row .ic {
  width: 2rem;
  height: 2rem;
  color: var(--teal-l);
  stroke-width: 1.4;
  margin-top: .3rem
}
.fact-big {
  font-family: var(--head);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1;
  margin: 0 0 .45rem;
  color: #fff;
  letter-spacing: -.02em
}
.fact-label {
  font-weight: 600;
  margin: 0;
  color: var(--orange-l);
  font-size: .95rem
}
.fact-text {
  margin: .2rem 0 0;
  font-size: .92rem;
  color: #a9b8c3;
  line-height: 1.45
}
@media (max-width:991.98px) {
  .facts-row {
    grid-template-columns: 1fr 1fr
  }
  .facts-row li:nth-child(3) {
    border-left: 0;
    padding-left: 0
  }
  .facts-row li:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .1)
  }
}
@media (max-width:575.98px) {
  .facts-row {
    grid-template-columns: 1fr
  }
  .facts-row li {
    border-left: 0 !important;
    padding: 1.4rem 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .1)
  }
  .facts-row li:first-child {
    border-top: 0
  }
}

/* 7. Scroll reveal animations: (only when JS has run and motion is allowed) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms)
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none
}
.js .reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease) var(--d, 0ms)
}
.js .reveal-img.is-in,
.js .is-in .reveal-img {
  clip-path: inset(0 0 0 0)
}
.js .reveal-img img {
  transform: scale(1.12);
  transition: transform 1.6s var(--ease) var(--d, 0ms)
}
.js .reveal-img.is-in img,
.js .is-in .reveal-img img {
  transform: scale(1)
}
.js .split .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .08em;
  margin-bottom: -.08em
}
.js .split .w>span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .9s var(--ease) calc(var(--i)*60ms + 150ms)
}
.js .split.is-in .w>span {
  transform: none
}

/* 8. About ACE */
.about-media {
  position: relative;
  padding: 0 0 3.5rem 3rem
}
.am-main {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/4.3;
  background: var(--steel)
}
.am-main img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.am-sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 6px solid #fff;
  aspect-ratio: 4/3;
  background: var(--steel);
  box-shadow: 0 18px 40px rgba(11, 29, 46, .18)
}
.am-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.spec-plate {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r);
  padding: 1.1rem 1.3rem;
  min-width: 230px;
  box-shadow: 0 20px 40px rgba(11, 29, 46, .28);
  border-top: 3px solid var(--orange)
}
.spec-plate dl {
  margin: 0;
  display: grid;
  gap: .55rem
}
.spec-plate dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  padding-bottom: .45rem
}
.spec-plate dl div:last-child {
  border: 0;
  padding: 0
}
.spec-plate dt {
  font-weight: 500;
  color: #9fb0bd;
  font-size: .85rem
}
.spec-plate dd {
  margin: 0;
  font-weight: 600;
  font-size: .9rem;
  text-align: right
}
@media (max-width:991.98px) {
  .spec-plate {
    right: 0
  }
  .about-media {
    padding-left: 1.5rem
  }
}
@media (max-width:575.98px) {
  .about-media {
    padding: 0 0 4rem
  }
  .am-sub {
    width: 52%
  }
  .spec-plate {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem
  }
  .about-media {
    padding-bottom: 0
  }
  .am-sub {
    position: relative;
    margin-top: -28%;
    margin-left: 4%
  }
}

/* 9. Engineering solutions grid */
.sol-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}
.sol:first-child {
  grid-column: span 2;
  grid-row: span 2
}
.sol:nth-child(2),
.sol:last-child {
  grid-column: span 2
}
.sol a {
  position: relative;
  display: block;
  height: 100%;
  min-height: 300px;
  border-radius: var(--r);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--navy)
}
.sol:first-child .sol-t {
  font-size: 1.9rem
}
.sol-img {
  position: absolute;
  inset: 0
}
.sol-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease)
}
.sol a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 16, 26, .92) 8%, rgba(6, 16, 26, .25) 60%, rgba(6, 16, 26, .05));
  transition: background .5s
}
.sol-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.4rem;
  display: grid;
  gap: .3rem
}
.sol-t {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.2
}
.sol-lg .sol-t {
  font-size: 1.6rem
}
.sol-d {
  color: #c7d3db;
  font-size: .95rem;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease), opacity .4s
}
.sol-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--orange-l);
  margin-top: .3rem
}
.sol-more .ic {
  transition: transform .3s var(--ease)
}
.sol a:hover .sol-img img,
.sol a:focus-visible .sol-img img {
  transform: scale(1.07)
}
.sol a:hover::after,
.sol a:focus-visible::after {
  background: linear-gradient(0deg, rgba(6, 16, 26, .95) 20%, rgba(11, 29, 46, .55) 75%, rgba(11, 29, 46, .3))
}
.sol a:hover .sol-d,
.sol a:focus-visible .sol-d,
.sol-lg .sol-d {
  max-height: 5em;
  opacity: 1
}
.sol a:hover .sol-more .ic {
  transform: translateX(5px)
}
.sol a {
  outline-offset: -3px
}
@media (hover:none) {
  .sol-d {
    max-height: 5em;
    opacity: 1
  }
}
@media (max-width:991.98px) {
  .sol-grid {
    grid-template-columns: 1fr 1fr
  }
  .sol a {
    min-height: 260px
  }
  .sol:first-child {
    grid-row: auto
  }
  .sol:first-child a {
    min-height: 360px
  }
}
@media (max-width:575.98px) {
  .sol-grid {
    grid-template-columns: 1fr
  }
  .sol:first-child,
  .sol:nth-child(2),
  .sol:last-child {
    grid-column: auto
  }
  .sol a,
  .sol:first-child a {
    min-height: 230px
  }
  .sol-d {
    max-height: 5em;
    opacity: 1
  }
}

/* 10. Manufacturing timeline */
.mfg-sticky {
  position: sticky;
  top: 110px
}
.mfg-photos {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  margin-top: 1rem
}
.mfg-photos figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3.4;
  background: var(--navy-3)
}
.mfg-photos figure:last-child {
  margin-top: 2.5rem
}
.mfg-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: rgba(255, 255, 255, .12)
}
.timeline::after {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  width: 2px;
  height: calc((100% - 56px)*var(--tl, 0));
  background: linear-gradient(var(--teal), var(--orange))
}
.timeline>li {
  position: relative;
  display: flex;
  gap: 1.6rem;
  padding-bottom: 2.6rem
}
.timeline>li:last-child {
  padding-bottom: 0
}
.tl-node {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-2);
  border: 2px solid rgba(255, 255, 255, .18);
  color: #fff;
  position: relative;
  z-index: 1;
  transition: background .5s, border-color .5s, color .5s
}
.tl-node .ic {
  width: 24px;
  height: 24px
}
.timeline>li.is-lit .tl-node {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy)
}
.tl-body {
  padding-top: .4rem
}
.tl-step {
  font-weight: 600;
  font-size: .85rem;
  color: var(--teal-l);
  margin: 0 0 .3rem
}
.tl-body h3 {
  margin-bottom: .5rem
}
.tl-body p {
  color: #a9b8c3;
  margin-bottom: 0
}
.tl-tags {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}
.tl-tags li {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  padding: .3rem .85rem;
  font-size: .88rem;
  color: #dbe4ea
}
@media (max-width:991.98px) {
  .mfg-sticky {
    position: static
  }
}

/* 11. Why choose ACE */
.why-photo {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: 420px;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--steel)
}
.why-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover
}
.why-photo figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem
}
.why-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  padding: .7rem 1rem;
  border-radius: var(--r);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2)
}
.why-badge .ic {
  color: var(--teal-d);
  width: 1.5em;
  height: 1.5em
}
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line)
}
.why-list li {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--line)
}
.why-list li:nth-child(even) {
  padding-left: 1.5rem;
  padding-right: 0;
  border-left: 1px solid var(--line)
}
.why-ic {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grey);
  color: var(--teal-d);
  transition: background .3s, color .3s, transform .4s var(--ease)
}
.why-ic .ic {
  width: 24px;
  height: 24px
}
.why-list li:hover .why-ic {
  background: var(--orange);
  color: var(--navy);
  transform: rotate(-8deg)
}
.why-list p {
  margin: 0;
  font-size: .98rem
}
@media (max-width:767.98px) {
  .why-list {
    grid-template-columns: 1fr
  }
  .why-list li:nth-child(even) {
    padding-left: 0;
    border-left: 0
  }
  .why-photo {
    min-height: 320px
  }
}

/* 12. Core services (home tabs) */
.svc-tabs {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start
}
.svc-list {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, .12)
}
.svc-list button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: #a9b8c3;
  padding: 1.25rem 0;
  font: 500 1.05rem/1.35 var(--body);
  position: relative;
  transition: color .3s, padding .4s var(--ease)
}
.svc-list button::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease)
}
.svc-n {
  font: 600 .85rem var(--head);
  color: var(--teal-l);
  width: 1.6rem;
  flex: none
}
.svc-name {
  flex: 1
}
.svc-list .ic {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .3s, transform .3s var(--ease);
  color: var(--orange)
}
.svc-list button:hover,
.svc-list button[aria-selected=true] {
  color: #fff
}
.svc-list button[aria-selected=true] {
  padding-left: .6rem
}
.svc-list button[aria-selected=true]::before {
  transform: scaleX(1)
}
.svc-list button[aria-selected=true] .ic,
.svc-list button:hover .ic {
  opacity: 1;
  transform: none
}
.svc-pane {
  animation: paneIn .6s var(--ease)
}
@keyframes paneIn {
  from {
    opacity: 0;
    transform: translateY(16px)
  }
  to {
    opacity: 1;
    transform: none
  }
}
.svc-pane figure {
  margin: 0 0 1.5rem;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--charcoal)
}
.svc-pane figure img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.svc-pane h3 {
  display: flex;
  align-items: center;
  gap: .6rem
}
.svc-pane h3 .ic {
  color: var(--orange)
}
.svc-pane p {
  color: #b8c5ce
}
@media (max-width:991.98px) {
  .svc-tabs {
    grid-template-columns: 1fr
  }
}

/* 13. Interactive panel line-up */
.lineup {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center
}
.lineup-stage {
  perspective: 1700px;
  filter: drop-shadow(0 30px 40px rgba(11, 29, 46, .25))
}
.cubs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 14px solid #59656f;
  border-radius: 4px 4px 0 0
}
.cub {
  position: relative;
  aspect-ratio: 200/460;
  padding: 0;
  border: 0;
  border-right: 2px solid #6d7880;
  border-left: 2px solid #6d7880;
  background: #20282e;
  cursor: pointer;
  transform-style: preserve-3d;
  display: block
}
.cub-inner {
  position: absolute;
  inset: 0
}
.cub-inner svg {
  width: 100%;
  height: 100%;
  display: block
}
.door {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #dfe3e1, #c3c8c5 60%, #b6bbb8);
  transform-origin: left center;
  transition: transform 1s var(--ease), filter .6s;
  display: block;
  z-index: 2;
  box-shadow: inset 0 0 0 1px #8b9490, inset -6px 0 12px rgba(0, 0, 0, .08)
}
.cub.open {
  z-index: 3
}
.cub.open .door {
  transform: rotateY(-108deg);
  filter: brightness(.7)
}
.cub:not(.open):hover .door {
  transform: rotateY(-16deg)
}
.cub:focus-visible {
  z-index: 4;
  outline-offset: -4px
}
.door-tag {
  position: absolute;
  top: 7%;
  left: 50%;
  transform: translateX(-50%);
  font: 600 clamp(.7rem, 1.2vw, 1.05rem) var(--head);
  color: var(--navy);
  background: #fff;
  padding: .15em .6em;
  border: 1px solid #8b9490;
  border-radius: 2px
}
.door-meter {
  position: absolute;
  top: 19%;
  left: 24%;
  right: 24%;
  height: 8%;
  background: #062430;
  box-shadow: 0 0 0 3px #1a2329;
  overflow: hidden
}
.door-meter i {
  position: absolute;
  inset: 25% 12%;
  background: linear-gradient(90deg, var(--teal-l) 60%, transparent 60%) 0 0/12px 100%;
  opacity: .8;
  animation: meter 2.4s steps(6) infinite
}
@keyframes meter {
  50% {
    inset: 25% 30% 25% 12%
  }
}
.door-leds {
  position: absolute;
  top: 32%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 9%
}
.door-leds i {
  width: clamp(6px, .8vw, 11px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor
}
.door-leds i:nth-child(1) {
  background: #e2382f;
  color: #e2382f
}
.door-leds i:nth-child(2) {
  background: #f3b80c;
  color: #f3b80c
}
.door-leds i:nth-child(3) {
  background: #2a6fd6;
  color: #2a6fd6
}
.door-handle {
  position: absolute;
  right: 8%;
  top: 47%;
  width: 5%;
  height: 9%;
  background: #1a2329;
  border-radius: 2px
}
.door-vent {
  position: absolute;
  bottom: 6%;
  left: 24%;
  right: 24%;
  height: 11%;
  background: repeating-linear-gradient(180deg, #7c8380 0 2px, transparent 2px 7px)
}
.cub.open .door>* {
  opacity: 0;
  transition: opacity .2s
}
.cub-plinth {
  height: 18px;
  background: #1c242b;
  border-radius: 0 0 4px 4px
}
.flow {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-dasharray: 14 34;
  opacity: .9;
  animation: flow 1.1s linear infinite
}
@keyframes flow {
  to {
    stroke-dashoffset: -48
  }
}
.led {
  animation: blink 2.4s steps(1) infinite
}
@keyframes blink {
  0%,
  70% {
    opacity: 1
  }
  71%,
  100% {
    opacity: .25
  }
}
.step {
  animation: step 4.2s steps(1) infinite
}
@keyframes step {
  0%,
  55% {
    opacity: 1
  }
  56%,
  100% {
    opacity: .15
  }
}
.fan {
  animation: spin 1.3s linear infinite
}
@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}
.cub-card {
  background: #fff;
  border-radius: var(--r);
  padding: 1.8rem;
  border-top: 3px solid var(--orange);
  box-shadow: 0 20px 50px rgba(11, 29, 46, .1);
  animation: paneIn .5s var(--ease);
  margin-bottom: 1.5rem
}
.cub-code {
  font: 700 2.6rem/1 var(--head);
  color: var(--teal-d);
  margin: 0 0 .6rem;
  letter-spacing: -.03em
}
.cub-card h3 {
  margin-bottom: .6rem
}
.cub-inside {
  display: flex;
  gap: .6rem;
  font-size: .95rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin: 1rem 0 0
}
.cub-inside .ic {
  color: var(--orange-d);
  margin-top: .2rem
}
@media (max-width:991.98px) {
  .lineup {
    grid-template-columns: 1fr
  }
}
@media (max-width:767.98px) {
  .cub .door-tag {
    font-size: .75rem;
    padding: .1em .3em
  }
  .cubs {
    border-top-width: 8px
  }
}

/* 14. Industries */
.ind-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px
}
.ind {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--navy);
  color: #fff
}
.ind img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease)
}
.ind::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 16, 26, .92) 15%, rgba(6, 16, 26, .1) 65%)
}
.ind-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.5rem
}
.ind-body h3 {
  color: #fff;
  margin-bottom: .4rem
}
.ind-body p {
  margin: 0;
  color: #c7d3db;
  font-size: .93rem;
  line-height: 1.5
}
.ind-body::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--orange);
  margin-bottom: .9rem;
  transition: width .5s var(--ease)
}
.ind:hover img {
  transform: scale(1.06)
}
.ind:hover .ind-body::before {
  width: 64px
}
@media (max-width:991.98px) {
  .ind-grid {
    grid-template-columns: 1fr 1fr
  }
}
@media (max-width:575.98px) {
  .ind-grid {
    grid-template-columns: 1fr
  }
  .ind {
    aspect-ratio: 4/3
  }
}

/* 15. Testimonials */
.testi-track {
  display: grid
}
.quote {
  grid-area: 1/1;
  margin: 0;
  background: #fff;
  border-radius: var(--r);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: 0 20px 50px rgba(11, 29, 46, .08);
  border-left: 4px solid var(--teal);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s
}
.quote.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s
}
.q-mark {
  width: 42px;
  height: 42px;
  color: var(--orange);
  margin-bottom: 1rem
}
.quote blockquote {
  font-family: var(--head);
  font-weight: 400;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  margin: 0 0 1.6rem;
  color: var(--ink);
  letter-spacing: -.01em
}
.quote figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600
}
.q-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grey);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none
}
.q-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain
}
.testi-nav {
  display: flex;
  align-items: center;
  gap: 1rem
}
.testi-count {
  font: 600 1rem var(--head);
  color: var(--muted)
}
.testi-count b {
  color: var(--ink)
}

/* 16. Partner brands strip */
.brands {
  padding: 4rem 0;
  background: #fff;
  border-top: 1px solid var(--line)
}
.brands-h {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 1.6rem;
  color: var(--muted);
  letter-spacing: 0
}
.marquee {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent)
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 55s linear infinite
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
  animation-play-state: paused
}
@keyframes slide {
  to {
    transform: translateX(-50%)
  }
}
.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  padding: 14px 22px;
  flex: none
}
.logo-slot img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .75;
  transition: filter .3s, opacity .3s
}
.logo-slot:hover img {
  filter: none;
  opacity: 1
}

/* 17. Call to action */
.cta {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: clamp(5rem, 10vw, 8.5rem) 0;
  background: var(--navy)
}
.cta-bg {
  position: absolute;
  inset: -12% 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(11, 29, 46, .96) 30%, rgba(11, 29, 46, .7) 60%, rgba(14, 122, 135, .45))
}
.cta-in {
  position: relative;
  z-index: 2
}
.cta h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  font-weight: 700;
  max-width: 16ch;
  letter-spacing: -.03em;
  color: #fff
}
.cta p {
  font-size: 1.15rem;
  color: #c7d3db;
  max-width: 52ch;
  margin: 1.2rem 0 2.2rem
}

/* 18. Vision, mission and quality */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0
}
.vm-grid>div {
  padding: 0 2rem;
  border-left: 1px solid rgba(255, 255, 255, .14)
}
.vm-grid>div:first-child {
  padding-left: 0;
  border: 0
}
.vm-grid h2 {
  color: var(--orange-l)
}
.vm-grid p {
  font-size: 1.15rem;
  color: #e5ecf1
}
@media (max-width:767.98px) {
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 2rem
  }
  .vm-grid>div {
    padding: 0;
    border: 0
  }
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.6rem;
  display: grid;
  gap: .6rem
}
.checks li {
  display: flex;
  gap: .7rem;
  align-items: flex-start
}
.checks .ic {
  color: var(--teal-d);
  margin-top: .25rem;
  stroke-width: 2.2
}
.cert {
  margin: 0;
  background: #fff;
  border-radius: var(--r);
  padding: 14px;
  box-shadow: 0 20px 50px rgba(11, 29, 46, .1);
  max-width: 440px;
  margin-left: auto
}
.cert img {
  width: 100%;
  min-height: 300px;
  object-fit: contain;
  background: var(--grey)
}
.cert figcaption {
  padding-top: .7rem;
  font-size: .9rem;
  color: var(--muted)
}

/* 19. Inner page banner */
.page-hero {
  position: relative;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
  min-height: clamp(420px, 60vh, 560px);
  display: flex;
  align-items: flex-end
}
.page-hero-bg {
  position: absolute;
  inset: -10% 0
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(6, 16, 26, .92) 25%, rgba(6, 16, 26, .5)), linear-gradient(0deg, rgba(6, 16, 26, .6), transparent 50%)
}
.page-hero-in {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
  padding-bottom: clamp(3rem, 6vw, 4.5rem)
}
.page-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -.035em;
  max-width: 16ch;
  margin-bottom: 1rem;
  color: #fff
}
.page-hero .lead {
  font-size: 1.2rem;
  max-width: 48ch;
  color: #c7d3db;
  margin: 0
}
.crumbs {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0 0 1.2rem;
  gap: .6rem;
  font-size: .95rem;
  color: #a9b8c3
}
.crumbs a {
  color: #fff
}
.crumbs li+li::before {
  content: "/";
  margin-right: .6rem;
  color: var(--orange)
}

/* 20. Services page */
.svc-jump {
  background: var(--navy-2);
  position: sticky;
  top: 56px;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}
.svc-jump ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .4rem;
  overflow-x: auto;
  scrollbar-width: none
}
.svc-jump a {
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  color: #c7d3db;
  text-decoration: none;
  padding: 1rem .9rem;
  font-weight: 500;
  font-size: .95rem;
  border-bottom: 2px solid transparent
}
.svc-jump a:hover,
.svc-jump a.is-on {
  color: #fff;
  border-color: var(--orange)
}
.svc-jump .ic {
  color: var(--teal-l)
}
.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 130px
}
.svc-row:first-child {
  padding-top: 0
}
.svc-row:last-child {
  border: 0;
  padding-bottom: 0
}
.svc-row.flip .svc-media {
  order: 2
}
.svc-media figure {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--steel)
}
.svc-media figure img {
  width: 100%;
  height: 100%;
  object-fit: cover
}
.svc-num {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--teal-d);
  margin-bottom: .8rem
}
.svc-copy h2 {
  margin-bottom: 1rem
}
.wave {
  background: var(--navy);
  border-radius: var(--r);
  padding: 16px
}
.wave canvas {
  width: 100%;
  height: auto;
  display: block
}
.wave-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px
}
.wave-btns button {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 999px;
  padding: .4rem 1rem;
  font-weight: 500
}
.wave-btns .on {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy)
}
@media (max-width:991.98px) {
  .svc-row {
    grid-template-columns: 1fr
  }
  .svc-row.flip .svc-media {
    order: 0
  }
  .svc-jump {
    top: 52px
  }
}

/* 21. Products page and photo popup */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}
.filters button {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: .55rem 1.1rem;
  font-weight: 500;
  transition: background .25s, color .25s, border-color .25s
}
.filters button span {
  display: inline-block;
  min-width: 1.6em;
  margin-left: .3rem;
  padding: 0 .4em;
  border-radius: 999px;
  background: var(--grey);
  font-size: .82rem;
  color: var(--muted)
}
.filters button:hover {
  border-color: var(--navy)
}
.filters .on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy)
}
.filters .on span {
  background: var(--orange);
  color: var(--navy)
}
.prod-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 22px
}
.prod {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow .4s, transform .4s var(--ease), opacity .4s;
  scroll-margin-top: 110px
}
.prod:hover {
  box-shadow: 0 24px 50px rgba(11, 29, 46, .12);
  transform: translateY(-4px)
}
.prod:target {
  box-shadow: 0 0 0 3px var(--orange)
}
.prod.is-out {
  opacity: 0;
  transform: scale(.96)
}
.prod-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  padding: 0;
  background: var(--steel);
  overflow: hidden;
  cursor: zoom-in
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease)
}
.prod:hover .prod-img img {
  transform: scale(1.06)
}
.prod-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(11, 29, 46, .85);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
  padding: .35rem .7rem;
  border-radius: 999px
}
.prod-body {
  padding: 1.4rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex: 1
}
.prod-cat {
  font-size: .85rem;
  font-weight: 600;
  color: var(--teal-d);
  margin: 0 0 .3rem
}
.prod-body h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem
}
.prod-body p {
  color: var(--muted);
  font-size: .97rem
}
.prod-body .link-arrow {
  margin-top: auto;
  align-self: flex-start;
  font-size: .95rem
}
@media (max-width:991.98px) {
  .prod-grid {
    grid-template-columns: 1fr 1fr
  }
}
@media (max-width:575.98px) {
  .prod-grid {
    grid-template-columns: 1fr
  }
}
.built {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line)
}
.built li {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  scroll-margin-top: 110px
}
.built li:target {
  background: #fff;
  box-shadow: inset 3px 0 0 var(--orange);
  padding-left: 1rem
}
.built h3 {
  font-size: 1.1rem;
  margin-bottom: .4rem
}
.built p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: .8rem
}
.built a {
  margin-top: auto;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  gap: .4rem;
  align-items: center
}
.built a:hover {
  color: var(--orange-d)
}
@media (max-width:991.98px) {
  .built {
    grid-template-columns: 1fr 1fr
  }
}
@media (max-width:575.98px) {
  .built {
    grid-template-columns: 1fr
  }
}
.gallery-modal .modal-content {
  background: var(--graphite);
  color: #fff;
  border: 0;
  border-radius: var(--r)
}
.gallery-modal .modal-header {
  border-color: rgba(255, 255, 255, .1)
}
.g-stage {
  position: relative;
  background: #000;
  border-radius: 4px;
  display: grid;
  place-items: center;
  min-height: 50vh
}
.g-stage img {
  max-height: 72vh;
  width: auto;
  max-width: 100%;
  object-fit: contain
}
.g-prev,
.g-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%)
}
.g-prev {
  left: 12px
}
.g-next {
  right: 12px
}
.g-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto
}
.g-thumbs button {
  flex: none;
  width: 84px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  opacity: .6;
  background: #000
}
.g-thumbs button.on {
  border-color: var(--orange);
  opacity: 1
}
.g-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

/* 22. Clients page */
.client-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr))
}
.client-grid .logo-slot {
  width: auto;
  height: 130px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  transition: box-shadow .3s, border-color .3s
}
.client-grid .logo-slot:hover {
  border-color: var(--teal);
  box-shadow: 0 14px 30px rgba(11, 29, 46, .08)
}
.client-grid .logo-slot img {
  filter: none;
  opacity: 1
}

/* 23. Contact details and enquiry form */
.quote-sec {
  scroll-margin-top: 80px
}
.reach {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem
}
.reach li {
  display: flex;
  gap: 1rem;
  align-items: flex-start
}
.reach .ic {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: var(--orange-l);
  stroke-width: 1.6
}
.reach b {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-bottom: .1rem
}
.reach span {
  color: #c7d3db
}
.reach a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .3)
}
.reach a:hover {
  color: var(--orange-l);
  border-color: var(--orange-l)
}
.reach.compact {
  gap: .8rem
}
.reach.compact .ic {
  width: 20px;
  height: 20px;
  padding: 0;
  background: none;
  margin-top: .2rem
}
.form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--r);
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25)
}
.quote-form .form-label {
  font-weight: 600;
  font-size: .95rem;
  margin-bottom: .35rem
}
.quote-form .form-control,
.quote-form .form-select {
  border-radius: var(--r);
  padding: .8rem .95rem;
  border-color: #c9d2d8;
  background-color: var(--grey);
  transition: border-color .2s, box-shadow .2s, background-color .2s
}
.quote-form .form-control:focus,
.quote-form .form-select:focus {
  background-color: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(24, 160, 176, .18)
}
.quote-form .is-invalid {
  border-color: #c22b2b !important;
  background-image: none;
  background-color: #fff6f6
}
.field-err {
  color: #b42323;
  font-size: .88rem;
  font-weight: 500;
  margin: .35rem 0 0
}
.form-hint {
  font-size: .88rem;
  color: var(--muted);
  margin: -.3rem 0 0
}
.hp {
  position: absolute;
  left: -9999px
}
.form-note {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--r);
  margin-bottom: 1.4rem
}
.form-note .ic {
  width: 1.6rem;
  height: 1.6rem;
  stroke-width: 2.2
}
.form-note.ok {
  background: #e7f6ee;
  color: #145c37;
  border: 1px solid #9fd6b6
}
.form-note.bad {
  background: #fdecec;
  color: #8d1d1d;
  border: 1px solid #f0b2b2
}
.btn-send[disabled] {
  opacity: .7
}
.map-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 3rem 0 1.5rem
}
.map iframe {
  width: 100%;
  height: 440px;
  border: 0;
  display: block;
  background: var(--steel);
  filter: grayscale(.3)
}

/* 24. Footer and floating buttons */
.site-foot {
  background: var(--graphite);
  color: #a9b8c3;
  padding: clamp(3.5rem, 6vw, 5rem) 0 1.5rem;
  font-size: .97rem;
  border-top: 4px solid var(--orange)
}
.foot-top {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.4fr 1.4fr 2fr;
  gap: 2.5rem
}
.foot-logo {
  display: inline-block;
  background: #fff;
  border-radius: var(--r);
  padding: 10px 14px;
  margin-bottom: 1.2rem
}
.foot-logo img {
  height: 46px;
  width: auto;
  display: block
}
.foot-brand p {
  max-width: 42ch
}
.site-foot h2 {
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.1rem;
  letter-spacing: 0
}
.foot-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .55rem
}
.foot-col a {
  color: #c7d3db;
  text-decoration: none;
  transition: color .2s
}
.foot-col a:hover {
  color: var(--orange-l)
}
.foot-reach .reach span {
  color: #a9b8c3
}
.foot-reach .reach a {
  color: #fff;
  border: 0
}
.foot-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 3rem;
  padding-top: 1.4rem;
  font-size: .9rem
}
.foot-bottom p {
  margin: 0
}
@media (max-width:1199.98px) {
  .foot-top {
    grid-template-columns: 1fr 1fr 1fr
  }
  .foot-brand {
    grid-column: 1/-1
  }
  .foot-reach {
    grid-column: span 3
  }
}
@media (max-width:575.98px) {
  .foot-top {
    grid-template-columns: 1fr 1fr
  }
  .foot-reach {
    grid-column: 1/-1
  }
  .foot-col:nth-child(4) {
    grid-column: 1/-1
  }
}

/* WhatsApp button */
.wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1020;
  transition: opacity .4s, transform .4s var(--ease), background .3s;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #128c4a;
  color: #fff;
  font-weight: 600;
  padding: .75rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25)
}
.has-hero .wa {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none
}
.has-hero.scrolled .wa {
  opacity: 1;
  transform: none;
  pointer-events: auto
}
.wa:hover {
  background: #0d6e39;
  color: #fff;
  transform: translateY(-3px)
}
.wa .ic {
  width: 1.4em;
  height: 1.4em
}
@media (max-width:575.98px) {
  .wa span {
    display: none
  }
  .wa {
    padding: .85rem
  }
}

/* Missing image fallback */
.img-missing {
  background: repeating-linear-gradient(135deg, var(--steel) 0 14px, #d9dfe3 14px 28px) !important
}

[hidden] {
  display: none !important
}

/* 25. Colour and motion upgrades
   Extra colour and movement on top of the base design. Every effect here is
   switched off for visitors who ask for reduced motion (section 27). */

/* Brand gradient, reused below */
:root {
  --grad: linear-gradient(90deg, var(--teal), var(--orange));
  --grad-diag: linear-gradient(135deg, var(--teal) 0%, #3fb8a8 40%, var(--orange) 100%)
}

/* Reading progress bar along the top of the window */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 1040;
  pointer-events: none
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  box-shadow: 0 0 12px rgba(231, 131, 45, .6)
}

/* Section heading accent: animated teal-to-orange bar */
.sec-head h2::before {
  width: 64px;
  background: linear-gradient(90deg, var(--orange), var(--teal), var(--orange));
  background-size: 200% 100%;
  animation: shimmer 3.5s linear infinite
}
.sec-head h2::after {
  display: none
}
@keyframes shimmer {
  to {
    background-position: -200% 0
  }
}

/* Coloured glow in dark sections, drifting slowly */
.sec-navy,
.sec-graphite,
.facts,
.site-foot {
  position: relative;
  overflow: clip;
  isolation: isolate
}
.sec-navy::before,
.sec-graphite::before,
.site-foot::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(38% 45% at 12% 20%, rgba(24, 160, 176, .22), transparent 70%), radial-gradient(32% 40% at 88% 85%, rgba(231, 131, 45, .16), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate
}
@keyframes drift {
  from {
    transform: translate3d(-3%, -2%, 0)
  }
  to {
    transform: translate3d(3%, 3%, 0)
  }
}

/* Soft colour wash in light grey sections */
.sec-grey {
  background: radial-gradient(60% 50% at 100% 0%, rgba(24, 160, 176, .07), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(231, 131, 45, .06), transparent 70%), var(--grey)
}

/* Faint engineering grid over the hero and page banners */
.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .35;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask: linear-gradient(90deg, #000, transparent 65%);
  mask: linear-gradient(90deg, #000, transparent 65%)
}
.hero .slide-copy,
.hero-controls {
  z-index: 3
}

/* Energy line that sweeps along the bottom of the hero */
.hero-energy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 3;
  overflow: hidden;
  background: rgba(255, 255, 255, .08)
}
.hero-energy::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--teal-l), var(--orange), transparent);
  animation: sweep 4.5s ease-in-out infinite
}
@keyframes sweep {
  from {
    left: -30%
  }
  to {
    left: 100%
  }
}

/* Buttons: light sweep on hover */
.btn-accent {
  background: linear-gradient(100deg, var(--orange), #f19a4c);
  box-shadow: 0 10px 26px rgba(231, 131, 45, .32)
}
.btn-accent::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease)
}
.btn-accent:hover::after {
  left: 130%
}
.btn-dark {
  background: linear-gradient(100deg, var(--navy), var(--navy-3))
}

/* Company highlights: icons in coloured rings, lift on hover */
.facts-row .ic {
  width: 3rem;
  height: 3rem;
  padding: .7rem;
  border-radius: 50%;
  margin-top: 0;
  color: #fff;
  background: linear-gradient(135deg, rgba(24, 160, 176, .9), rgba(24, 160, 176, .35));
  box-shadow: 0 0 0 6px rgba(24, 160, 176, .12);
  transition: transform .5s var(--ease)
}
.facts-row li:nth-child(even) .ic {
  background: linear-gradient(135deg, rgba(231, 131, 45, .95), rgba(231, 131, 45, .4));
  box-shadow: 0 0 0 6px rgba(231, 131, 45, .12)
}
.facts-row li:hover .ic {
  transform: translateY(-4px) rotate(-6deg)
}
.fact-big {
  background: linear-gradient(90deg, #fff, #cfeff3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* About collage: floating plate and colour frame */
.am-main {
  box-shadow: 0 30px 60px rgba(11, 29, 46, .18)
}
.about-media::before {
  content: "";
  position: absolute;
  top: -18px;
  right: -18px;
  width: 45%;
  height: 55%;
  border-radius: var(--r);
  background: var(--grad-diag);
  opacity: .9;
  z-index: -1
}
.about-media {
  isolation: isolate
}
.spec-plate {
  animation: float 6s ease-in-out infinite;
  border-top: 0;
  background: linear-gradient(160deg, var(--navy-2), var(--navy))
}
.spec-plate::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: var(--r) var(--r) 0 0;
  background: var(--grad)
}
@keyframes float {
  50% {
    transform: translateY(-10px)
  }
}

/* Solution tiles: colour glow border and 3D tilt (tilt set by main.js) */
.sol {
  perspective: 900px
}
.sol a {
  transform: rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
  transition: transform .4s var(--ease), box-shadow .4s;
  will-change: transform
}
.sol a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--r);
  padding: 2px;
  background: var(--grad-diag);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none
}
.sol a:hover::before,
.sol a:focus-visible::before {
  opacity: 1
}
.sol a:hover {
  box-shadow: 0 26px 50px rgba(11, 29, 46, .28)
}
.sol-t {
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35)
}

/* Timeline: lit steps pulse */
.timeline>li.is-lit .tl-node {
  background: var(--grad-diag);
  border-color: transparent;
  color: #fff;
  animation: pulse 2.4s ease-out infinite
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 131, 45, .5)
  }
  70% {
    box-shadow: 0 0 0 14px rgba(231, 131, 45, 0)
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 131, 45, 0)
  }
}
.tl-tags li {
  background: rgba(24, 160, 176, .12);
  border-color: rgba(95, 208, 220, .35);
  transition: background .3s
}
.tl-tags li:hover {
  background: rgba(231, 131, 45, .25)
}

/* Why choose: alternating teal and orange icons */
.why-ic {
  background: rgba(24, 160, 176, .12);
  color: var(--teal-d)
}
.why-list li:nth-child(4n+2) .why-ic,
.why-list li:nth-child(4n+3) .why-ic {
  background: rgba(231, 131, 45, .14);
  color: var(--orange-d)
}
.why-list li {
  transition: background .3s
}
.why-list li:hover {
  background: linear-gradient(90deg, rgba(24, 160, 176, .06), transparent)
}
.why-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: var(--grad)
}

/* Services tabs: gradient underline and glowing image frame */
.svc-list button::before {
  background: var(--grad)
}
.svc-pane figure {
  box-shadow: 0 0 0 1px rgba(95, 208, 220, .25), 0 30px 60px rgba(0, 0, 0, .35)
}

/* Panel line-up: glow under the open panel */
.cub.open::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(24, 160, 176, .75), transparent);
  filter: blur(4px);
  z-index: 5;
  animation: glow 2s ease-in-out infinite alternate
}
@keyframes glow {
  to {
    opacity: .4
  }
}
.cub-card {
  border-top: 0;
  position: relative;
  overflow: hidden
}
.cub-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad)
}
.cub-code {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* Industries: colour tint on hover */
.ind::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(160deg, rgba(24, 160, 176, .55), rgba(231, 131, 45, .35));
  opacity: 0;
  transition: opacity .6s;
  mix-blend-mode: multiply
}
.ind:hover::before {
  opacity: 1
}
.ind-body {
  z-index: 2
}
.ind-body::before {
  background: var(--grad)
}

/* Testimonials: gradient side bar */
.quote {
  border-left: 0;
  position: relative;
  overflow: hidden
}
.quote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--teal), var(--orange))
}
.q-mark {
  color: var(--orange)
}

/* Call to action: moving colour light */
.cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(231, 131, 45, .35), transparent);
  animation: drift 12s ease-in-out infinite alternate;
  pointer-events: none
}
.cta h2 {
  background: linear-gradient(90deg, #fff 40%, #ffd8b5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent
}

/* Inner page banner: gradient underline under the title */
.page-hero h1::after {
  content: "";
  display: block;
  width: 90px;
  height: 4px;
  margin-top: 1.1rem;
  border-radius: 2px;
  background: var(--grad);
  transform-origin: left;
  animation: grow 1.2s var(--ease) .6s both
}
@keyframes grow {
  from {
    transform: scaleX(0)
  }
}

/* Product cards: gradient top edge on hover */
.prod {
  position: relative
}
.prod::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  z-index: 2;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease)
}
.prod:hover::before {
  transform: scaleX(1)
}
.filters .on {
  background: var(--grad-diag);
  border-color: transparent
}
.built li {
  transition: background .3s, padding .3s
}
.built li:hover {
  background: rgba(24, 160, 176, .06);
  padding-left: 1rem
}

/* Footer: moving gradient top border */
.site-foot {
  border-top: 0
}
.site-foot>.container-xxl::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--teal), var(--orange));
  background-size: 200% 100%;
  animation: shimmer 6s linear infinite
}

/* Back-to-top button with progress ring */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 84px;
  z-index: 1020;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: conic-gradient(var(--orange) calc(var(--p, 0)*360deg), rgba(11, 29, 46, .25) 0);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .4s, transform .4s var(--ease)
}
.to-top::before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--navy)
}
.to-top .ic {
  position: relative;
  transform: rotate(-90deg)
}
.scrolled .to-top {
  opacity: 1;
  transform: none;
  pointer-events: auto
}
.to-top:hover::before {
  background: var(--teal-d)
}
@media (max-width:575.98px) {
  .to-top {
    right: 20px;
    bottom: 80px;
    width: 44px;
    height: 44px
  }
}

/* 26. Recent work strip and commissioning video */
.work {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: #fff;
  overflow: hidden
}
.work-track {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent)
}
.work-row {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  width: max-content;
  animation: slide 70s linear infinite
}
.work-track:hover .work-row,
.work-track:focus-within .work-row {
  animation-play-state: paused
}
.work-row figure {
  position: relative;
  margin: 0;
  width: clamp(230px, 24vw, 330px);
  aspect-ratio: 4/5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--steel)
}
.work-row img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease)
}
.work-row figure:hover img {
  transform: scale(1.07)
}
.work-row figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem .9rem;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  background: linear-gradient(0deg, rgba(6, 16, 26, .88), transparent)
}
.work-row figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease)
}
.work-row figure:hover::after {
  transform: scaleX(1)
}
.com-video {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 60px rgba(11, 29, 46, .2);
  aspect-ratio: 16/9
}
.com-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}
.com-video::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r);
  padding: 3px;
  background: var(--grad-diag);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none
}
.com-badge {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(11, 29, 46, .8);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  backdrop-filter: blur(6px)
}
.com-badge .ic {
  color: var(--orange-l)
}
.com-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255, 77, 77, .6);
  animation: live 1.6s infinite
}
@keyframes live {
  70% {
    box-shadow: 0 0 0 8px rgba(255, 77, 77, 0)
  }
}

/* 27. Reduced motion: visitors who ask for less motion see a still page. */
@media (prefers-reduced-motion:reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none
  }
  .js .reveal-img {
    clip-path: none
  }
  .js .reveal-img img {
    transform: none
  }
  .js .split .w>span {
    transform: none
  }
  .marquee {
    overflow-x: auto
  }
  .slide .slide-h,
  .slide .slide-p,
  .slide .slide-cta {
    opacity: 1;
    transform: none
  }
  .work-track {
    overflow-x: auto
  }
  .sol a {
    transform: none
  }
}
@media (max-width:991.98px) {
  .row.g-5 {
    --bs-gutter-x: 2rem
  }
}

/* Keep the coloured frame behind the About photos inside the screen on tablets and phones */
@media (max-width: 991.98px) {
  .about-media::before {
    right: 0;
    top: -12px;
  }
}

/* The last solution tile is wide; show the lower part of its tall photo */
.sol:last-child .sol-img img {
  object-position: 50% 72%;
}

/* Hero headlines: each sentence on its own line, and always clear of the header */
.slide-h {
  max-width: none;
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
}
.slide-line {
  display: block;
}
.slide-copy {
  padding-top: calc(var(--head-h) + 2.5rem);
}
@media (max-height: 800px) and (min-width: 768px) {
  .slide-h {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    margin-bottom: 1rem;
  }
  .slide-p {
    margin-bottom: 1.6rem;
  }
}
@media (max-width: 767.98px) {
  .slide-h {
    font-size: clamp(2rem, 8.6vw, 2.6rem);
  }
}

/* Logos: show brand logos in full colour, and give client logos a clean white tile */
.logo-slot img {
  filter: none;
  opacity: 1;
}
.marquee .logo-slot {
  width: 200px;
  height: 96px;
  margin: 0 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.marquee .logo-slot:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 14px 30px rgba(11, 29, 46, .1);
}
.marquee-track {
  padding: 8px 0 12px;
}
.client-grid .logo-slot {
  height: 150px;
  padding: 22px 26px;
}
.client-grid .logo-slot img {
  transition: transform .5s var(--ease);
}
.client-grid .logo-slot:hover img {
  transform: scale(1.06);
}
.q-logo {
  background: #fff;
  border: 1px solid var(--line);
  width: 72px;
  height: 72px;
}

/* ISO certificate card (About page) */
.iso-card {
  position: relative;
  max-width: 440px;
  margin-left: auto;
  padding: 2.4rem 2.2rem 2.2rem;
  border-radius: var(--r);
  background: linear-gradient(160deg, var(--navy-2), var(--navy));
  color: #dbe4ea;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(11, 29, 46, .25);
}
.iso-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--grad);
}
.iso-card::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  border: 30px solid rgba(24, 160, 176, .12);
}
.iso-seal {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin-bottom: 1.4rem;
  background: var(--grad-diag);
  color: #fff;
  box-shadow: 0 0 0 8px rgba(231, 131, 45, .15);
  animation: pulse 2.6s ease-out infinite;
}
.iso-seal .ic {
  width: 38px;
  height: 38px;
}
.iso-std {
  font: 700 2.2rem/1 var(--head);
  letter-spacing: -.02em;
  color: #fff;
  margin: 0 0 .4rem;
}
.iso-title {
  font-weight: 600;
  color: var(--orange-l);
  margin-bottom: .8rem;
}
.iso-text {
  font-size: .97rem;
  color: #a9b8c3;
  margin-bottom: 1.4rem;
}
.iso-card .link-arrow {
  color: #fff;
}
.iso-card .link-arrow:hover {
  color: var(--orange-l);
}
@media (max-width: 991.98px) {
  .iso-card {
    margin-left: 0;
  }
}

/* ACE logo: shown at its full height so the company name stays readable */
.brand {
  padding: 6px 12px;
}
.brand img {
  height: 52px;
}
.site-head.is-solid .brand img {
  height: 48px;
}
.foot-logo img {
  height: 54px;
}
@media (max-width: 991.98px) {
  .brand img {
    height: 44px;
  }
  .menu-logo {
    height: 42px;
  }
}

/* Client logos: all five on one row on desktop, centred rows on smaller screens */
.client-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.client-grid .logo-slot {
  flex: 0 1 calc(33.333% - 10px);
}
@media (min-width: 1200px) {
  .client-grid .logo-slot {
    flex-basis: calc(20% - 12px);
  }
}
@media (max-width: 575.98px) {
  .client-grid .logo-slot {
    flex-basis: calc(50% - 7px);
    height: 120px;
  }
}

/* Testimonials: centre each quote in the card */
.quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ISO certificate (About page) */
.cert-frame {
  position: relative;
  max-width: 420px;
  margin: 0 0 0 auto;
  padding: 12px;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 30px 60px rgba(11, 29, 46, .18);
  transform: rotate(1.5deg);
  transition: transform .6s var(--ease);
}
.cert-frame:hover {
  transform: rotate(0) translateY(-6px);
}
.cert-frame::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 60%;
  height: 50%;
  z-index: -1;
  border-radius: var(--r);
  background: var(--grad-diag);
}
.cert-frame a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
}
.cert-frame img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .8s var(--ease);
}
.cert-frame a:hover img {
  transform: scale(1.03);
}
.cert-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .8rem;
  border-radius: 999px;
  background: rgba(11, 29, 46, .85);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.cert-badge {
  position: absolute;
  left: -28px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1.1rem .8rem .8rem;
  border-radius: var(--r);
  background: var(--navy);
  color: #a9b8c3;
  font-size: .85rem;
  box-shadow: 0 18px 40px rgba(11, 29, 46, .3);
  animation: float 6s ease-in-out infinite;
}
.cert-badge b {
  display: block;
  color: #fff;
  font: 700 1.1rem var(--head);
}
.cert-badge .iso-seal {
  width: 46px;
  height: 46px;
  margin: 0;
}
.cert-badge .iso-seal .ic {
  width: 24px;
  height: 24px;
}
@media (max-width: 991.98px) {
  .cert-frame {
    margin: 1rem auto 0;
  }
}
@media (max-width: 575.98px) {
  .cert-badge {
    left: 8px;
    bottom: 16px;
  }
}
