:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #282828;
  --accent-color: var(--ns-red);
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #ffffff;
  --nav-hover-color: var(--ns-red);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: var(--ns-red);
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

:root {
  scroll-behavior: smooth;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: var(--ns-red);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo h1 {
    font-size: 24px;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 20px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  --background-color: rgba(40, 40, 40, 0.9);
}

@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: color-mix(in srgb, var(--nav-color), transparent 30%);
    font-size: 15px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -27px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer .social-links {
  margin: 0 0 30px 0;
}

.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}

.footer .copyright {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--accent-color);
  border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 57px;
  }
}

.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color) 90%, white 50%);
}

.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
}

.hero h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 20px 0;
  font-size: 24px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
  }
}

.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 60px 30px;
  transition: all ease-in-out 0.3s;
  border-radius: 18px;
  border-bottom: 5px solid var(--surface-color);
  height: 100%;
}

.services .service-item .icon {
  color: var(--contrast-color);
  background: var(--accent-color);
  margin: 0;
  width: 64px;
  height: 64px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

@media (min-width: 1365px) {
  .services .service-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
  }

  .services .service-item:hover h3 {
    color: var(--accent-color);
  }
}

.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  background: var(--accent-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

.features .features-image {
  position: relative;
  min-height: 400px;
}

.features .features-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.features .features-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
}

.features .features-item i {
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
  line-height: 0;
}

.features .features-item p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.stats {
  position: relative;
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stats:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 20%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats .subheading {
  text-align: center;
}

.stats .subheading h3 {
  font-weight: 700;
  font-size: 36px;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--surface-color), transparent 10%);
  padding: 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px rgba(0, 0, 0, 0.1);
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  padding: 15px;
  margin-top: 15px;
  font-size: 18px;
  font-weight: 600;
}

.pricing .pricing-item h4 {
  color: var(--accent-color);
  font-size: 42px;
  font-family: var(--default-font);
  font-weight: 500;
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 20px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  text-decoration: line-through;
}

.pricing .pricing-item .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .pricing-item .btn-buy {
  color: var(--accent-color);
  background-color: transparent;
  border: 2px solid var(--accent-color);
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 50px;
  font-size: 14px;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .pricing-item .btn-buy:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .recommended .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .recommended .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.pricing .recommended-badge {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 13px;
  padding: 3px 25px 6px 25px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  border-radius: 50px;
}

.faq .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.faq .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.faq .faq-container {
  margin-top: 15px;
}

.faq .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.recent-posts article {
  background: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.recent-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.recent-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 10px;
}

.recent-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.recent-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.recent-posts .title a:hover {
  color: var(--accent-color);
}

.recent-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.recent-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.recent-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 0;
}

.contact .info-item+.info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

.starter-section {

}

.blog-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.blog-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.blog-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.blog-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.blog-posts .title a:hover {
  color: var(--accent-color);
}

.blog-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.blog-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.blog-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

.blog-pagination {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog-pagination li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.blog-pagination li a.active,
.blog-pagination li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.blog-pagination li a.active a,
.blog-pagination li a:hover a {
  color: var(--contrast-color);
}

.blog-details {
  padding-bottom: 30px;
}

.blog-details .article {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog-details .title {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 30px 0;
}

.blog-details .content {
  margin-top: 20px;
}

.blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog-details .content blockquote {
  overflow: hidden;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog-details .content blockquote p {
  color: var(--default-color);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--accent-color);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog-details .meta-top {
  margin-top: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  display: inline;
}

.blog-details .meta-bottom a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: 0.3s;
}

.blog-details .meta-bottom a:hover {
  color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--default-color);
  content: ",";
}

.blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog-details .meta-bottom .share i {
  padding-left: 5px;
}

.blog-comments {
  padding: 10px 0;
}

.blog-comments .comments-count {
  font-weight: bold;
}

.blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog-comments .comment .comment-img img {
  width: 60px;
}

.blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog-comments .comment h5 a {
  font-weight: bold;
  color: var(--default-color);
  transition: 0.3s;
}

.blog-comments .comment h5 a:hover {
  color: var(--accent-color);
}

.blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 5px;
}

.blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.widgets-container {
  background-color: var(--surface-color);
  padding: 30px;
  margin: 60px 0 30px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.widget-item {
  margin-bottom: 40px;
}

.widget-item:last-child {
  margin-bottom: 0;
}

.blog-author-widget img {
  max-width: 120px;
  margin-right: 20px;
}

.blog-author-widget h4 {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 0px;
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
  margin: 5px 0;
}

.blog-author-widget .social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  margin-right: 5px;
  font-size: 18px;
}

.blog-author-widget .social-links a:hover {
  color: var(--accent-color);
}

.blog-author-widget p {
  font-style: italic;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 10px 0 0 0;
}

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

.categories-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.categories-widget ul a:hover {
  color: var(--accent-color);
}

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.tags-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

.header .logo img {
  max-height: 40px;
  width: auto;
}

.hero .hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}

.hero .hero-slide.is-active {
  opacity: 1;
}

.hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 8000ms ease-out;
}

.hero .hero-slide.is-active img {
  transform: scale(1.15);
}

.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 12, 24, 0.72);
}

.hero .container {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-slide img {
    transition: none;
    transform: none !important;
  }
}

:root {
  --ns-blue: #0092e0;
  --ns-blue-dark: #0074b3;
  --ns-navy: #071c33;
  --ns-navy-soft: #0f2846;
  --ns-red: #c8202a;
  --ns-ink: #0092e0;
  --ns-ink-soft: #55637a;
  --ns-muted: #8b98ab;
  --ns-line: #e1e7f0;
  --ns-bg: #f5f8fc;
  --ns-surface: #ffffff;
  --ns-sunken: #eef3f9;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ns-ink);
  background: var(--ns-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--ns-ink);
}

.section {
  padding: 120px 0;
}

@media (max-width: 992px) {
  .section { padding: 80px 0; }
}

@media (max-width: 576px) {
  .section { padding: 64px 0; }
}

.section-number {
  display: inline-block;
  font-family: "Inter", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 20px;
}
.section-number-light { color: rgba(255,255,255,0.6); }

.section-head { max-width: 780px; margin: 0 0 72px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin-bottom: 16px; }
.section-head p { font-size: 1.0625rem; color: var(--ns-ink-soft); max-width: 62ch; }

.section-head-dark { max-width: 780px; margin: 0 0 72px; }
.section-head-dark h2 { color: #fff; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; margin-bottom: 16px; }
.section-head-dark p { color: rgba(255,255,255,0.68); font-size: 1.0625rem; max-width: 62ch; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

.hero .hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero .hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
}
.hero .hero-slide.is-active { opacity: 1; }
.hero .hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 8000ms ease-out;
}
.hero .hero-slide.is-active img { transform: scale(1.12); }

.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(4, 12, 24, 0.72);
}
.hero .container { position: relative; z-index: 2; }

.hero-inner { max-width: 900px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  margin-bottom: 32px;
  backdrop-filter: blur(6px);
}
.hero-eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ns-red);
  box-shadow: 0 0 0 4px rgba(236,28,36,0.25);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
  margin: 0 0 40px;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 56ch;
  margin: 0 0 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-hero-primary {
  background: var(--ns-blue);
  color: #fff;
  border: 1px solid var(--ns-blue);
}
.btn-hero-primary:hover {
  background: var(--ns-blue-dark);
  border-color: var(--ns-blue-dark);
  color: #fff;
}
.btn-hero-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-hero-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: #fff;
}

.positioning { background: var(--ns-surface); }
.positioning-head { margin-bottom: 64px; }
.positioning-title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 16ch;
}
.lead-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ns-ink);
  font-weight: 500;
}
.positioning-body p { line-height: 1.75; }

.solutions { background: var(--ns-navy); }

.solutions-list {
  border-top: 1px solid rgba(255,255,255,0.12);
}
.solution-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 40px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: padding 0.3s ease, background 0.3s ease;
  color: #fff;
}
.solution-row:hover {
  padding-left: 24px;
  background: rgba(255,255,255,0.03);
}
.solution-index {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ns-blue);
}
.solution-copy h3 {
  color: #fff;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.solution-copy p {
  color: rgba(255,255,255,0.62);
  margin: 0;
  font-size: 0.9375rem;
  max-width: 60ch;
}
.solution-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.solution-row:hover .solution-arrow {
  background: var(--ns-blue);
  border-color: var(--ns-blue);
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .solution-row { grid-template-columns: 60px 1fr auto; gap: 16px; padding: 28px 4px; }
}

.stats-band { background: var(--ns-bg); }
.stats-grid {
  border-top: 1px solid var(--ns-line);
  border-bottom: 1px solid var(--ns-line);
}
.stat-cell {
  padding: 56px 32px;
  border-right: 1px solid var(--ns-line);
  text-align: left;
}
.stat-cell:last-child { border-right: none; }
.stat-number {
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--ns-blue);
  line-height: 1;
  margin-bottom: 20px;
}
.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-ink-soft);
  margin: 0;
}

@media (max-width: 992px) {
  .stat-cell { border-right: none; border-bottom: 1px solid var(--ns-line); padding: 40px 20px; }
  .stat-cell:nth-child(2n) { border-right: none; }
  .stats-grid .col-lg-3:nth-child(odd) .stat-cell { border-right: 1px solid var(--ns-line); }
}

.belief { background: var(--ns-navy); }
.belief-title {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0;
}
.belief-body {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}
.belief-quote {
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
  color: #fff;
  border-left: 3px solid var(--ns-blue);
  padding-left: 24px;
  margin: 32px 0 0;
}

.featured { background: var(--ns-bg); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.featured-panel {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
}
.featured-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.featured-tint {
  position: absolute;
  inset: 0;
  background: rgba(7, 28, 51, 0.5);
  transition: opacity 0.4s ease;
}
.featured-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  color: #fff;
}
.featured-body h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.featured-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.featured-panel:hover img { transform: scale(1.06); }
.featured-panel:hover .featured-tint { opacity: 0.35; }
.featured-panel:hover .featured-arrow {
  background: var(--ns-blue);
  border-color: var(--ns-blue);
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
  .featured-panel { aspect-ratio: 4 / 3; }
}

.partners { background: var(--ns-surface); padding: 100px 0; }
.partners-intro {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-ink-soft);
  margin: 0 0 56px;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 56px;
}
.partner-logo img {
  max-height: 36px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logo:hover img { filter: grayscale(0); opacity: 1; }

.impact { background: var(--ns-navy); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-card {
  padding: 40px 32px;
  background: var(--ns-navy-soft);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.impact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(10, 118, 196, 0.5);
}
.impact-index {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: var(--ns-blue);
  margin-bottom: 24px;
}
.impact-card h4 {
  color: #fff;
  font-size: 1.25rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.impact-card p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 992px) {
  .impact-grid { grid-template-columns: 1fr; }
}

.timeline-section { background: var(--ns-bg); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--ns-line);
}
.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.timeline-item.is-visible { opacity: 1; transform: none; }
.timeline-dot {
  position: absolute;
  top: -40px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ns-surface);
  border: 2px solid var(--ns-blue);
}
.timeline-item.is-final .timeline-dot {
  background: var(--ns-blue);
  border-color: var(--ns-blue);
}
.timeline-year {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 12px;
}
.timeline-item h4 {
  font-size: 1.0625rem;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.timeline-item p {
  font-size: 0.9375rem;
  color: var(--ns-ink-soft);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 992px) {
  .timeline { grid-template-columns: 1fr; gap: 40px; padding-top: 0; padding-left: 24px; }
  .timeline::before { top: 0; bottom: 0; left: 8px; right: auto; width: 1px; height: auto; }
  .timeline-dot { top: 4px; left: -24px; }
}

.portfolio.section.light-background { background: var(--ns-surface); padding: 120px 0; }
.portfolio .portfolio-filters li {
  display: inline-block;
  margin: 0 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ns-ink-soft);
  cursor: pointer;
}
.portfolio .portfolio-filters li.filter-active { color: var(--ns-blue); }

.testimonials.section.light-background { background: var(--ns-surface); padding: 120px 0; }

.cta-band { background: var(--ns-navy); padding: 140px 0; }
.cta-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin: 0 0 20px;
}
.cta-sub {
  color: rgba(255,255,255,0.68);
  font-size: 1.125rem;
  max-width: 56ch;
  margin: 0 auto 40px;
}

.contact.section { background: var(--ns-bg); padding: 120px 0; }

.footer.dark-background { background: var(--ns-navy); }
.footer .sitename { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-slide img { transition: none; transform: none !important; }
  .timeline-item { opacity: 1 !important; transform: none !important; transition: none !important; }
  .featured-panel img { transition: none; }
  .solution-row,
  .impact-card,
  .featured-panel { transition: none !important; }
}

:is(.portfolio, .partners) .logo-marquees {
  --tile-w: 240px;
  --tile-h: 120px;
  --logo-w: 70%;
  --logo-h: 80px;
  --cycle: 50s;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

:is(.portfolio, .partners) .logo-marquee {
  width: 100%;
  overflow: hidden;
}

:is(.portfolio, .partners) .logo-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: logo-step-left var(--cycle) linear infinite;
}

:is(.portfolio, .partners) .logo-marquee-reverse .logo-track {
  animation-name: logo-step-right;
  animation-delay: calc(var(--cycle) / -10);
}

:is(.portfolio, .partners) .logo-marquee:hover .logo-track,
:is(.portfolio, .partners) .logo-marquee:focus-within .logo-track {
  animation-play-state: paused;
}

:is(.portfolio, .partners) .logo-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  min-width: 100vw;
}

:is(.portfolio, .partners) .logo-item {
  display: flex;
  flex: 0 0 var(--tile-w);
  align-items: center;
  justify-content: center;
  height: var(--tile-h);
  padding: 0 16px;
}

:is(.portfolio, .partners) .logo-item img {
  display: block;
  width: auto;
  height: auto;
  max-width: var(--logo-w);
  max-height: var(--logo-h);
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

:is(.portfolio, .partners) .logo-item:hover img,
:is(.portfolio, .partners) .logo-item:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

/* Product logos rest partly coloured rather than fully muted; hover
   still brings them to full colour. */
.portfolio .logo-item img {
  filter: grayscale(0.55);
  opacity: 0.8;
}

:is(.portfolio, .partners) .logo-item:focus-visible {
  outline: 2px solid var(--ns-blue);
  outline-offset: -4px;
  border-radius: 12px;
}

@keyframes logo-step-left {
  0%   { transform: translateX(0); }
  16%, 20% { transform: translateX(-10%); }
  36%, 40% { transform: translateX(-20%); }
  56%, 60% { transform: translateX(-30%); }
  76%, 80% { transform: translateX(-40%); }
  96%, 100% { transform: translateX(-50%); }
}

@keyframes logo-step-right {
  0%   { transform: translateX(-50%); }
  16%, 20% { transform: translateX(-40%); }
  36%, 40% { transform: translateX(-30%); }
  56%, 60% { transform: translateX(-20%); }
  76%, 80% { transform: translateX(-10%); }
  96%, 100% { transform: translateX(0); }
}

.partners .logo-marquees {
  --cycle: 90s;          /* 10s per logo; partner-step-left has one stop per logo (9) */
  --logo-h: 72px;
}

.partners .logo-track {
  animation-name: partner-step-left;
}

@keyframes partner-step-left {
  0%        { transform: translateX(0); }
  8.89%, 11.11% { transform: translateX(-5.556%); }
  20.00%, 22.22% { transform: translateX(-11.111%); }
  31.11%, 33.33% { transform: translateX(-16.667%); }
  42.22%, 44.44% { transform: translateX(-22.222%); }
  53.33%, 55.56% { transform: translateX(-27.778%); }
  64.44%, 66.67% { transform: translateX(-33.333%); }
  75.56%, 77.78% { transform: translateX(-38.889%); }
  86.67%, 88.89% { transform: translateX(-44.444%); }
  97.78%, 100% { transform: translateX(-50.000%); }
}


.partners .logo-item img { mix-blend-mode: multiply; }

@media (max-width: 576px) {
  :is(.portfolio, .partners) .logo-marquees {
    --tile-w: 170px;
    --tile-h: 96px;
    --logo-h: 60px;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.portfolio, .partners) .logo-track { animation: none; width: 100%; }
  :is(.portfolio, .partners) .logo-group[aria-hidden="true"] { display: none; }
  :is(.portfolio, .partners) .logo-group { flex-wrap: wrap; justify-content: center; min-width: 0; width: 100%; }
  :is(.portfolio, .partners) .logo-item img { transition: none; }
  :is(.portfolio, .partners) .logo-item:hover img,
  :is(.portfolio, .partners) .logo-item:focus-visible img { transform: none; }
}

.hero {
  flex-direction: column;
  align-items: stretch;
  padding: 140px 0 0;
  min-height: 100vh;
  min-height: 100svh;
  --slide-time: 6s;
}

.hero .hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 56px;
}

.hero .hero-inner { width: 100%; }

.hero .hero-title { text-wrap: balance; }

.hero .hero-accent { color: var(--ns-blue); }

.hero .btn-hero-primary svg { transition: transform 0.2s ease; }
.hero .btn-hero-primary:hover svg { transform: translateX(3px); }

.hero .hero-foot {
  position: relative;
  z-index: 2;
  padding-bottom: 36px;
}

.hero .hero-sectors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.hero .hero-sectors li { position: relative; }

.hero .hero-sectors li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.hero .hero-sectors li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--ns-blue);
}

.hero .hero-sectors li.is-active::after {
  animation: hero-sector-progress var(--slide-time) linear forwards;
}

@keyframes hero-sector-progress {
  from { width: 0; }
  to   { width: 100%; }
}

.hero .hero-sectors a {
  display: block;
  padding: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.3s ease;
}

.hero .hero-sectors li.is-active a,
.hero .hero-sectors a:hover,
.hero .hero-sectors a:focus-visible {
  color: #fff;
}

.hero .hero-sector-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero .hero-sector-product {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

@media (max-width: 768px) {
  .hero .hero-sectors {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
  }
  .hero .hero-foot { padding-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-sectors li.is-active::after { animation: none; width: 100%; }
  .hero .btn-hero-primary svg { transition: none; }
}

.hero:before { content: none; }

.hero .hero-scrim { background: rgba(4, 12, 24, var(--hero-scrim, 0.5)); }

.hero .hero-title,
.hero .hero-sub { text-shadow: 0 2px 28px rgba(4, 12, 24, 0.4); }

.site-header {
  --header-h: 76px;
  --bar-pad: clamp(16px, 4.5vw, 72px);
  --panel-gap: var(--bar-pad);
  --nav-accent: #ec1c24;
  --tint-blue: #0082cf;
  --tint-red: #ec1c24;
  --nav-font: "DM Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--nav-font);
  height: var(--header-h);
  padding: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s ease;
}

.header.site-header { background-color: var(--tint-blue); }

.index-page .header.site-header:not(.is-scrolled):not(.has-open-menu):not(.is-nav-open) {
  background-color: transparent;
}

.header.site-header.is-scrolled,
.header.site-header.has-open-menu,
.header.site-header.is-nav-open {
  --header-fg: var(--ns-navy);
  --header-border-color: rgba(7, 28, 51, 0.35);
  background-color: #ffffff;
  border-bottom-color: rgba(7, 28, 51, 0.08);
}

.header.site-header.is-hidden { transform: translateY(-100%); }

.site-header__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 var(--bar-pad);
}

.site-header .logo {
  --logo-h: 44px;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
}
.site-header .logo img {
  height: var(--logo-h);
  max-height: none;
  width: auto;
  max-width: none;
  margin: 0 calc(var(--logo-h) * -1.365);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-search__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  font-size: 18px;
  line-height: 1;
  color: var(--header-fg, #fff);
  background: transparent;
  border: 1px solid var(--header-border-color, rgba(255, 255, 255, 0.35));
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.site-search__toggle:hover,
.site-search__toggle[aria-expanded="true"] {
  color: var(--nav-accent);
  border-color: var(--nav-accent);
}
.site-search__toggle:focus-visible {
  outline: 2px solid var(--header-fg, #fff);
  outline-offset: 3px;
}

.site-nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
  font-size: 30px;
  line-height: 1;
  color: var(--header-fg, #fff);
  cursor: pointer;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__item {
  position: static;
  display: flex;
  align-items: center;
  height: var(--header-h);
}

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 18px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--header-fg, #fff);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.site-nav__link:hover,
.site-nav__item.is-open > .site-nav__link,
.site-nav__item.is-current > .site-nav__link { color: var(--nav-accent); }

.site-nav__link:focus-visible {
  outline: 2px solid var(--header-fg, #fff);
  outline-offset: -4px;
  border-radius: 6px;
}

.nav-panel {
  position: absolute;
  top: 100%;
  left: var(--panel-gap);
  right: var(--panel-gap);
  max-height: calc(100vh - var(--header-h) - 12px);
  overflow-y: auto;
  color: var(--ns-navy);
  background: #fff;
  border: 1px solid rgba(0, 130, 207, 0.3);
  border-top: 0;
  box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.site-nav__item.is-open > .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-media {
  display: block;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--tint-blue);
}
.nav-media--red { background: var(--tint-red); }
.nav-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(1.1);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ns-navy);
  transition: color 0.2s ease;
}
.nav-link-item i {
  flex: 0 0 24px;
  font-size: 22px;
  line-height: 1;
  color: var(--nav-accent);
}
.nav-link-item:hover { color: var(--ns-blue-dark); }

.nav-panel--links {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}
.nav-panel--links.nav-panel--insights {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}
.nav-panel__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: 48px;
  align-content: center;
  padding: 32px 40px;
}
.nav-panel--insights .nav-panel__links {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: none;
  grid-auto-flow: row;
}
.nav-panel__media {
  min-height: 285px;
  border-top-left-radius: 56px;
}

.nav-panel--cols {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.nav-col {
  display: block;
  padding: 32px 18px 36px;
  color: var(--ns-navy);
  border-right: 1px solid var(--ns-line);
  transition: background 0.2s ease;
}
.nav-col:last-child { border-right: 0; }
.nav-col:hover {
  color: var(--ns-navy);
  background: var(--ns-bg);
}
.nav-col__icon {
  display: block;
  margin-bottom: 20px;
  font-size: 40px;
  line-height: 1;
  color: var(--nav-accent);
}
.nav-col__title {
  display: block;
  margin-bottom: 12px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ns-blue-dark);
}
.nav-col__text {
  display: block;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ns-navy);
}

.nav-panel--cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  padding: 40px;
}
.nav-card { display: block; color: var(--ns-navy); }
.nav-card:hover { color: var(--ns-navy); }
.nav-card .nav-media {
  aspect-ratio: 27 / 15;
  border-top-right-radius: 44px;
}
.nav-card:hover .nav-media img { transform: scale(1.06); }
.nav-card__title {
  display: block;
  margin-top: 20px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ns-blue-dark);
  transition: color 0.2s ease;
}
.nav-card:hover .nav-card__title { color: var(--nav-accent); }

.nav-panel--contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
  gap: 48px;
  padding: 40px;
}
.nav-contact__title {
  margin: 0 0 22px;
  font-family: inherit;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ns-blue-dark);
}
.nav-contact__label {
  display: block;
  margin: 22px 0 6px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ns-blue-dark);
}
.nav-contact__title + .nav-contact__label { margin-top: 0; }
.nav-contact__text {
  display: block;
  margin: 0;
  font-size: 0.9375rem;
  font-style: normal;
  line-height: 1.7;
  color: var(--ns-navy);
}
a.nav-contact__text:hover { color: var(--ns-blue-dark); }
.nav-contact__social {
  display: flex;
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  font-size: 18px;
}
.nav-contact__social a { color: var(--ns-navy); }
.nav-contact__social a:hover { color: var(--nav-accent); }

.nav-field {
  display: block;
  width: 100%;
  padding: 14px 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ns-navy);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(7, 28, 51, 0.2);
  border-radius: 0;
  outline: 0;
  resize: none;
  transition: border-color 0.2s ease;
}
.nav-field::placeholder { color: rgba(7, 28, 51, 0.75); }
.nav-field:focus { border-bottom-color: var(--ns-blue-dark); }

.nav-form__submit {
  margin-top: 22px;
  padding: 14px 32px;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #ec1c24;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.nav-form__submit:hover { background: color-mix(in srgb, #ec1c24, #000 14%); }
.nav-panel--contact .php-email-form .loading,
.nav-panel--contact .php-email-form .error-message,
.nav-panel--contact .php-email-form .sent-message {
  margin: 16px 0 0;
  padding: 12px 14px;
  font-size: 0.875rem;
}

.nav-contact__map {
  position: relative;
  min-height: 320px;
  background: var(--ns-bg);
}
.nav-contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.site-search {
  position: absolute;
  top: 100%;
  left: var(--panel-gap);
  right: var(--panel-gap);
  padding: 28px 40px 32px;
  background: #fff;
  border: 1px solid rgba(0, 130, 207, 0.3);
  border-top: 0;
  box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
.site-search.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.site-search__form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid var(--ns-navy);
}
.site-search__input {
  flex: 1;
  min-width: 0;
  padding: 14px 0;
  font-family: inherit;
  font-size: 1.125rem;
  color: var(--ns-navy);
  background: transparent;
  border: 0;
  outline: 0;
  -webkit-appearance: none;
  appearance: none;
}
.site-search__input::placeholder { color: rgba(7, 28, 51, 0.55); }
.site-search__submit {
  padding: 0;
  font-size: 22px;
  line-height: 1;
  color: var(--nav-accent);
  background: none;
  border: 0;
  cursor: pointer;
}
.site-search__results {
  max-height: min(50vh, 380px);
  margin: 18px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}
.site-search__results a {
  display: block;
  padding: 12px 0;
  color: var(--ns-navy);
  border-bottom: 1px solid var(--ns-line);
}
.site-search__results a:hover { color: var(--ns-navy); background: var(--ns-bg); }
.site-search__results strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ns-blue-dark);
}
.site-search__results span {
  display: block;
  margin-top: 2px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ns-ink-soft);
}
.site-search__empty {
  padding: 12px 0;
  font-size: 0.875rem;
  color: var(--ns-ink-soft);
}

@media (max-width: 1199.98px) {
  .site-header {
    --header-h: 68px;
    --panel-gap: 0px;
  }

  .site-header__bar { grid-template-columns: 1fr auto; }

  .site-nav__toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: 8px 0 28px;
    background: var(--ns-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* The open header turns white and sets navy text; links in this
       navy drawer need to stay white. */
    --header-fg: #fff;
  }
  .site-header.is-nav-open .site-nav { display: block; }
  body.nav-open { overflow: hidden; }

  .site-nav__list { flex-direction: column; align-items: stretch; }

  .site-nav__item {
    display: block;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav__link {
    display: flex;
    width: 100%;
    height: auto;
    padding: 18px 24px;
  }

  .nav-panel {
    position: static;
    display: none;
    max-height: none;
    margin: 0 16px 16px;
    overflow: visible;
    border: 0;
    border-radius: 12px;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .site-nav__item.is-open > .nav-panel { display: grid; }

  .nav-panel--links,
  .nav-panel--links.nav-panel--insights,
  .nav-panel--cols,
  .nav-panel--contact { grid-template-columns: minmax(0, 1fr); }

  .nav-panel__links,
  .nav-panel--insights .nav-panel__links {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    padding: 12px 20px;
  }
  .nav-panel__media { display: none; }

  .nav-col {
    padding: 22px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--ns-line);
  }
  .nav-col:last-child { border-bottom: 0; }
  .nav-col__icon { margin-bottom: 12px; font-size: 36px; }

  .nav-panel--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
    padding: 16px;
  }
  .nav-card .nav-media { border-top-right-radius: 28px; }
  .nav-card__title { margin-top: 12px; font-size: 0.9375rem; }

  .nav-panel--contact { gap: 28px; padding: 24px 20px; }
  .nav-contact__map { display: none; }

  .site-search { padding: 20px 20px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-panel,
  .site-search,
  .site-nav__link,
  .nav-media img { transition: none; }
}

.site-footer {
  --brand-blue: #0082cf;
  --brand-red: #ec1c24;
  --footer-bg: var(--brand-blue);
  color: #fff;
}

.site-footer a { color: inherit; }

.site-footer__main {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 40px;
  background: var(--footer-bg);
}

.site-footer__art {
  position: absolute;
  z-index: -1;
  height: auto;
  pointer-events: none;
}
.site-footer__art--tl { top: 0; left: 0; width: clamp(170px, 22vw, 320px); }
.site-footer__art--br { right: 0; bottom: 0; width: clamp(190px, 26vw, 380px); }

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 40px;
  align-items: start;
}

.site-footer__label {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
}

.site-footer__logo {
  --logo-h: 56px;
  display: block;
  width: fit-content;
  max-width: 100%;
}
.site-footer__logo img {
  display: block;
  height: var(--logo-h);
  width: auto;
  max-width: 100%;
}

.site-footer .site-footer__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 280px;
  height: 44px;
  margin-top: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand-red);
  border-radius: 999px;
  box-shadow: 0 12px 26px -14px rgba(7, 28, 51, 0.6);
  transition: background 0.2s ease;
}
.site-footer .site-footer__cta:hover {
  color: #fff;
  background: color-mix(in srgb, var(--brand-red), #000 14%);
}
.site-footer__cta svg { transition: transform 0.2s ease; }
.site-footer__cta:hover svg { transform: translateX(4px); }

.site-footer .site-footer__phone {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  color: #fff;
}

.site-footer__emails {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer__social {
  display: flex;
  gap: 18px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.site-footer .site-footer__social a {
  display: inline-flex;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer .site-footer__social a:hover {
  color: var(--ns-navy);
  transform: translateY(-2px);
}

.site-footer__address {
  margin: 14px 0 0;
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.site-footer__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
}
.site-footer__links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .site-footer__links a {
  display: inline-block;
  padding: 4px 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #fff;
}

.site-footer a.site-footer__arrow-link {
  position: relative;
  transition: padding-left 0.2s ease;
}
.site-footer a.site-footer__arrow-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0.85em;
  height: 0.85em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec1c24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translate(-6px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.site-footer a.site-footer__arrow-link:hover,
.site-footer a.site-footer__arrow-link:focus-visible {
  padding-left: 1.3em;
}
.site-footer a.site-footer__arrow-link:hover::before,
.site-footer a.site-footer__arrow-link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.site-footer a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 4px;
}

.site-footer__bottom {
  padding: 14px 0 16px;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #fff;
  background: var(--ns-navy);
}
.site-footer__bottom p { margin: 0; }

.site-footer__copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
}
.site-footer__copy img {
  display: block;
  height: 26px;
  width: auto;
}

@media (max-width: 1199px) {
  .site-footer__main { padding: 44px 0 36px; }
  .site-footer__grid { gap: 32px; }
  .site-footer__logo { --logo-h: 52px; }
  .site-footer__art { opacity: 0.6; }
}

@media (max-width: 991.98px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__nav { grid-column: 1 / -1; }
}

@media (max-width: 576px) {
  .site-footer__main { padding: 36px 0 32px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__logo { --logo-h: 46px; }
  .site-footer__copy img { height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a,
  .site-footer a::before,
  .site-footer__cta svg { transition: none !important; }
  .site-footer__cta:hover svg { transform: none !important; }
}

.scroll-top {
  width: 48px;
  height: 48px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 10px 28px -10px rgba(7, 28, 51, 0.55);
}
.scroll-top i {
  font-size: 30px;
  color: #0082cf;
}
.scroll-top:hover {
  background-color: #0082cf;
}
.scroll-top:hover i { color: #fff; }
:root {
  --section-y: 56px;
  --section-title-gap: 32px;
}

.section:not(.hero),
.partners,
.portfolio.section.light-background,
.testimonials.section.light-background,
.contact.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.section-title {
  padding-bottom: var(--section-title-gap);
}

@media (max-width: 992px) {
  :root {
    --section-y: 48px;
    --section-title-gap: 28px;
  }
}

@media (max-width: 576px) {
  :root {
    --section-y: 40px;
    --section-title-gap: 24px;
  }
}
:root {
  --font-dm: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --default-font: var(--font-dm);
  --heading-font: var(--font-dm);
  --nav-font: var(--font-dm);
}

body {
  font-family: var(--font-dm);
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-dm);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-number { font-family: var(--font-dm); }

.hero-title {
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead-text { font-weight: 400; }

.section-title h2,
.services .service-item h3,
.call-to-action h3,
.features .features-item h4,
.stats .subheading h3,
.stats .stats-item span,
.stats .stats-item p,
.contact .info-item h3 {
  font-weight: 500;
}
.positioning-panel {
  --pos-overlay: 0.25;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  width: 100%;
  min-height: 260px;
  padding: 48px 40px;
  overflow: hidden;
  background: #ec1c24;
  border-top-right-radius: 44px;
}

.positioning-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  mix-blend-mode: multiply;
}

.positioning-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(30, 0, 4, var(--pos-overlay));
}

.positioning-panel .positioning-title {
  margin: 0;
  max-width: none;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.1;
  color: #8fd4ff;
}

@media (max-width: 991.98px) {
  .positioning-panel {
    min-height: 200px;
    padding: 36px 28px;
    border-top-right-radius: 32px;
  }
}
.values-title {
  margin: 0 0 40px;
  text-align: center;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.values-card {
  --tint: var(--ns-blue);
  --values-overlay: 0.2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  padding: 40px 32px;
  overflow: hidden;
  color: #fff;
  background: var(--tint);
}

.values-card--blue { --tint: var(--ns-blue); }
.values-card--red { --tint: #ec1c24; }

.values-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.values-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, var(--values-overlay));
}

.values-card:hover .values-card__bg { transform: scale(1.06); }

.values-card__icon {
  display: block;
  font-size: 52px;
  line-height: 1;
  color: #fff;
}

.values-card__title {
  margin: 28px 0 14px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.values-card__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #fff;
}

/* White variant: a quiet counterpart to the blue cards. Navy text on
   white, the photo shrunk to a small duotone-blue inset (the ::before
   square is the blue it multiplies onto), and red only as accents:
   a thin top rule and the icon. */
.values-card--white {
  --inset: 88px;
  color: var(--ns-navy);
  background: #fff;
  box-shadow: inset 0 3px 0 #ec1c24, inset 0 0 0 1px var(--ns-line);
}
.values-card--white .values-card__bg,
.values-card--white::before {
  inset: 32px 32px auto auto;
  width: var(--inset);
  height: var(--inset);
  border-radius: 18px;
}
.values-card--white::before { background: var(--ns-blue); }
.values-card--white .values-card__bg { z-index: 0; }
.values-card--white .values-card__icon { color: #ec1c24; }
.values-card--white .values-card__title { color: var(--ns-navy); }
.values-card--white .values-card__text { color: var(--ns-ink-soft); }

@media (max-width: 991.98px) {
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-card { min-height: 320px; }
}

@media (max-width: 575.98px) {
  .values-grid { grid-template-columns: minmax(0, 1fr); }
  .values-card { min-height: 0; padding: 32px 24px; }
  .values-card--white { --inset: 64px; }
  .values-card--white .values-card__bg,
  .values-card--white::before { inset: 24px 24px auto auto; }
  .values-title { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .values-card__bg { transition: none; }
  .values-card:hover .values-card__bg { transform: none; }
}
.page-banner {
  position: relative;
  isolation: isolate;
  padding: 150px 0 64px;
  overflow: hidden;
  color: #fff;
  background: var(--ns-navy);
}

.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 12, 24, 0.66);
}

.page-banner__crumbs {
  margin: 0 0 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.page-banner__crumbs a { color: #fff; }
.page-banner__crumbs a:hover { color: #fff; text-decoration: underline; }

.page-banner__title {
  margin: 0 0 14px;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  line-height: 1.08;
  color: #fff;
}

.page-banner__lead {
  max-width: 60ch;
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 1199.98px) {
  .page-banner { padding-top: 130px; }
}

@media (max-width: 575.98px) {
  .page-banner { padding: 116px 0 48px; }
}

.section-more {
  margin-top: 36px;
  text-align: center;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: #ec1c24;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.btn-more:hover {
  color: #fff;
  background: color-mix(in srgb, #ec1c24, #000 14%);
}
.btn-more svg { transition: transform 0.2s ease; }
.btn-more:hover svg { transform: translateX(4px); }

.solution-panel {
  --tint: var(--ns-blue);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1 1 auto;
  width: 100%;
  min-height: 300px;
  padding: 40px;
  color: #fff;
  background: var(--tint);
  border-top-right-radius: 44px;
}
.solution-panel--red { --tint: #ec1c24; }
.solution-panel i {
  display: block;
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1;
}
.solution-panel h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.2;
  color: #fff;
}
.solution-block .lead-text { margin-bottom: 24px; }

.product-group__title {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--ns-line);
  border-radius: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product-card:hover {
  border-color: var(--ns-blue);
  transform: translateY(-3px);
}

.product-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  margin-bottom: 22px;
}
.product-card__logo img {
  width: auto;
  height: auto;
  max-width: 70%;
  max-height: 72px;
  object-fit: contain;
}

.product-card__name {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.product-card__text {
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ns-ink-soft);
}

.product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ec1c24;
}
.product-card__link:hover { color: color-mix(in srgb, #ec1c24, #000 14%); }
.product-card__link svg { transition: transform 0.2s ease; }
.product-card__link:hover svg { transform: translateX(4px); }

.team-member { width: 100%; }
.team-member img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-top-right-radius: 44px;
}
.member-info { padding-top: 18px; }
.member-info h4 {
  margin: 0 0 4px;
  font-size: 1.25rem;
}
.member-info span {
  font-size: 0.9375rem;
  color: var(--ns-ink-soft);
}

.contact-map {
  display: block;
  width: 100%;
  height: 360px;
  margin-top: 40px;
  border: 0;
}

.nav-contact__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ns-blue-dark);
}
.nav-contact__more:hover { color: var(--nav-accent); }

@media (max-width: 991.98px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-panel { min-height: 220px; padding: 32px; }
}

@media (max-width: 575.98px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-map { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .btn-more svg,
  .product-card__link svg { transition: none; }
  .product-card:hover,
  .btn-more:hover svg,
  .product-card__link:hover svg { transform: none; }
}
.page-banner {
  position: relative;
  isolation: isolate;
  padding: 140px 0 72px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: #0082cf;
}

.page-banner::before,
.page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 46%;
  background-color: transparent;
  background-size: 13px 13px;
  pointer-events: none;
}

.page-banner::before {
  left: 0;
  right: auto;
  background-image: radial-gradient(circle, #0092e0 2px, transparent 2.5px);
  -webkit-mask-image: radial-gradient(ellipse 100% 140% at 0% 30%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 100% 140% at 0% 30%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
}

.page-banner::after {
  right: 0;
  background-image: radial-gradient(circle, #ec1c24 2px, transparent 2.5px);
  -webkit-mask-image: radial-gradient(ellipse 100% 140% at 100% 70%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
  mask-image: radial-gradient(ellipse 100% 140% at 100% 70%, #000 0%, rgba(0, 0, 0, 0.55) 40%, transparent 72%);
}

.page-banner__title {
  margin: 0 0 14px;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.page-banner__lead {
  max-width: 56ch;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.page-banner__crumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.page-banner__crumbs a { color: #fff; }
.page-banner__crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
.page-banner__crumbs [aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 1199.98px) {
  .page-banner { padding-top: 120px; }
}

@media (max-width: 575.98px) {
  .page-banner { padding: 108px 0 48px; }
  .page-banner::before,
  .page-banner::after { width: 70%; }
}
.service-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-tile {
  --tint: var(--ns-blue);
  --tile-overlay: 0.2;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 32px 28px;
  overflow: hidden;
  color: #fff;
  background: var(--tint);
}
.service-tile:hover { color: #fff; }

.service-tile--blue { --tint: var(--ns-blue); }
.service-tile--red { --tint: #ec1c24; }

.service-tile__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, var(--tile-overlay));
}

.service-tile:hover .service-tile__bg { transform: scale(1.06); }

.service-tile__num {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.65);
}

.service-tile__icon {
  display: block;
  margin-top: auto;
  font-size: 44px;
  line-height: 1;
  color: #fff;
}

.service-tile__title {
  margin: 22px 0 12px;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}

.service-tile__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #fff;
}

.service-tile__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.service-tile__more svg { transition: transform 0.2s ease; }
.service-tile:hover .service-tile__more svg { transform: translateX(6px); }

/* White variant: see .values-card--white. */
.service-tile--white {
  --inset: 96px;
  color: var(--ns-navy);
  background: #fff;
  box-shadow: inset 0 3px 0 #ec1c24, inset 0 0 0 1px var(--ns-line);
}
.service-tile--white:hover { color: var(--ns-navy); }
.service-tile--white .service-tile__bg,
.service-tile--white::before {
  inset: 32px 28px auto auto;
  width: var(--inset);
  height: var(--inset);
  border-radius: 18px;
}
.service-tile--white::before { background: var(--ns-blue); }
.service-tile--white .service-tile__bg { z-index: 0; }
.service-tile--white .service-tile__num { color: color-mix(in srgb, var(--ns-navy), transparent 82%); }
.service-tile--white .service-tile__icon { color: #ec1c24; }
.service-tile--white .service-tile__title { color: var(--ns-navy); }
.service-tile--white .service-tile__text { color: var(--ns-ink-soft); }
.service-tile--white .service-tile__more { color: #ec1c24; }

@media (max-width: 991.98px) {
  .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-tile { min-height: 400px; }
}

@media (max-width: 575.98px) {
  .service-tiles { grid-template-columns: minmax(0, 1fr); }
  .service-tile { min-height: 320px; padding: 28px 24px; }
  .service-tile--white { --inset: 72px; }
  .service-tile--white .service-tile__bg,
  .service-tile--white::before { inset: 28px 24px auto auto; }
}

@media (prefers-reduced-motion: reduce) {
  .service-tile__bg,
  .service-tile__more svg { transition: none; }
  .service-tile:hover .service-tile__bg,
  .service-tile:hover .service-tile__more svg { transform: none; }
}
.achievements.section { background: var(--ns-bg); }

.achievements__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
  align-items: stretch;
}

.achievements__numbers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--ns-surface);
  border: 1px solid var(--ns-line);
  border-right: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 36px;
  border-right: 1px solid var(--ns-line);
  border-bottom: 1px solid var(--ns-line);
}
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(n+3) { border-bottom: 0; }

.stat__num {
  display: block;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ns-blue);
}
.stat__num::after { content: attr(data-suffix); }
.stat:nth-child(2) .stat__num,
.stat:nth-child(3) .stat__num { color: #0082cf; /* logo blue */ }

.stat__label {
  margin: 14px 0 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--ns-ink-soft);
}

.achievements__panel {
  --panel-overlay: 0.25;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 44px 40px;
  overflow: hidden;
  color: #fff;
  background: #0082cf; /* logo blue */
  border-top-left-radius: 44px;
}

.achievements__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.85);
  mix-blend-mode: multiply;
}

.achievements__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(30, 0, 4, var(--panel-overlay));
}

.achievements__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
}

.achievements__sub {
  margin: 24px 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
}

@media (max-width: 991.98px) {
  .achievements__grid { grid-template-columns: minmax(0, 1fr); }
  .achievements__panel {
    order: -1;
    min-height: 240px;
    padding: 36px 28px;
    border-top-left-radius: 0;
    border-top-right-radius: 32px;
  }
  .achievements__numbers { border-right: 1px solid var(--ns-line); border-top: 0; }
}

@media (max-width: 575.98px) {
  .stat { padding: 28px 20px; }
}
.partners-lead {
  margin: 0 0 var(--section-title-gap);
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #e51a22;
}

@media (max-width: 575.98px) {
  .partners-lead {
    font-size: 0.8125rem;
    letter-spacing: 0.1em;
  }
}
.expertise.section { background: var(--ns-bg); }

.expertise__head { margin-bottom: 40px; }

.expertise__title {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  line-height: 1.1;
}

.expertise__intro {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ns-navy);
}

.expertise__tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--ns-line);
}

.expertise__tab {
  padding: 18px 12px 20px;
  font-family: inherit;
  font-size: clamp(1.0625rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: var(--ns-blue-dark);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.expertise__tab:hover { color: var(--ns-blue); }
.expertise__tab.is-active { border-bottom-color: #ec1c24; }
.expertise__tab:focus-visible {
  outline: 2px solid var(--ns-blue-dark);
  outline-offset: -4px;
}

.expertise-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: 40px;
  background: var(--ns-surface);
}
.expertise-panel[hidden] { display: none; }

.expertise-panel__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
}

.expertise-panel__text h3 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.2;
}

.expertise-panel__text p {
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ns-navy);
}

.expertise-panel__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e51a22;
}
.expertise-panel__link:hover { color: color-mix(in srgb, #e51a22, #000 14%); }
.expertise-panel__link svg { transition: transform 0.2s ease; }
.expertise-panel__link:hover svg { transform: translateX(5px); }

.expertise-panel__media {
  --tint: var(--ns-blue);
  position: relative;
  isolation: isolate;
  min-height: 380px;
  overflow: hidden;
  background: var(--tint);
  border-top-right-radius: 44px;
}
.expertise-panel__media--red { --tint: #ec1c24; }

.expertise-panel__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.95);
  mix-blend-mode: multiply;
}

.expertise-panel__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, 0.15);
}

/* White variant: the photo sits as a duotone-blue inset inside a
   white frame instead of a full-bleed wash; a short red rule under
   it is the only red. */
.expertise-panel__media--white {
  --frame: 32px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--ns-line);
}
.expertise-panel__media--white img,
.expertise-panel__media--white::before {
  inset: var(--frame) auto auto var(--frame);
  width: calc(100% - 2 * var(--frame));
  height: calc(100% - 2 * var(--frame) - 20px);
  border-top-right-radius: 28px;
}
.expertise-panel__media--white::before { background: var(--ns-blue); }
.expertise-panel__media--white img { z-index: 0; }
.expertise-panel__media--white::after {
  content: "";
  position: absolute;
  left: var(--frame);
  bottom: var(--frame);
  width: 56px;
  height: 4px;
  background: #ec1c24;
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  .expertise__tabs {
    display: flex;
    overflow-x: auto;
  }
  .expertise__tab {
    flex: 0 0 auto;
    padding: 16px 20px 18px;
    white-space: nowrap;
  }
  .expertise-panel { grid-template-columns: minmax(0, 1fr); }
  .expertise-panel__media {
    order: -1;
    min-height: 240px;
    border-top-right-radius: 32px;
  }
  .expertise-panel__media--white { --frame: 20px; }
  .expertise-panel__text { padding: 32px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .expertise__tab,
  .expertise-panel__link svg { transition: none; }
  .expertise-panel__link:hover svg { transform: none; }
}
.wwa__text .wwa__lead {
  margin: 0 0 24px;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.5;
  color: var(--ns-navy);
}
.wwa__text p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ns-navy);
}

.wwa-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-top-right-radius: 44px;
}
.wwa-stat {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  padding: 28px;
  color: #fff;
}
.wwa-stat--blue { background: var(--ns-blue-dark); }
.wwa-stat--red { background: #dc171e; }
.wwa-stat__num {
  display: block;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}
.wwa-stat__num::after { content: attr(data-suffix); }
.wwa-stat__label {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.4;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.mosaic__cell {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  overflow: hidden;
}
.mosaic__tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  color: #fff;
}
.mosaic__tile--blue { background: var(--ns-blue-dark); }
.mosaic__tile--red { background: #dc171e; }
.mosaic__tile--white {
  background: #fff;
  color: var(--ns-navy);
  box-shadow: inset 0 0 0 1px var(--ns-line);
}
.mosaic__tile--navy { background: var(--ns-navy); }

.mosaic__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic__photo:hover img { transform: scale(1.06); }

.mosaic__icon {
  display: block;
  margin-bottom: 18px;
  font-size: 44px;
  line-height: 1;
}
.mosaic__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mosaic__tile--white .mosaic__icon,
.mosaic__tile--white .mosaic__label { color: var(--ns-blue-dark); }

.mosaic__text {
  margin: 10px 0 0;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
}
.mosaic__text--small {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}
.mosaic__list {
  margin: 10px 0 14px;
  padding: 0;
  list-style: none;
  font-size: 1.375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ns-navy);
}
.mosaic__list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 12px;
  vertical-align: middle;
  border-radius: 50%;
  background: #dc171e;
}
.mosaic__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e51a22;
}
.mosaic__link:hover { color: color-mix(in srgb, #e51a22, #000 14%); }

.expertise__tabs--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.expertise-panel__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 200px;
  max-height: 64px;
  margin: 0 0 22px;
}

.trust__title {
  margin: 0 0 32px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1.12;
}
.trust__item { border-bottom: 1px solid var(--ns-line); }
.trust__item:first-child { border-top: 1px solid var(--ns-line); }
.trust__item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 0;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ns-blue-dark);
  cursor: pointer;
  list-style: none;
}
.trust__item summary::-webkit-details-marker { display: none; }
.trust__item summary::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ec1c24' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.2s ease;
}
.trust__item[open] summary::before { transform: rotate(180deg); }
.trust__item summary:focus-visible {
  outline: 2px solid var(--ns-blue-dark);
  outline-offset: 2px;
}
.trust__item p {
  max-width: 60ch;
  margin: 0 0 24px 36px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ns-navy);
}

@media (max-width: 991.98px) {
  .expertise__tabs--two .expertise__tab {
    flex: 1 1 50%;
    padding: 14px 10px 16px;
    white-space: normal;
  }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic__cell { min-height: 240px; }
  .mosaic > :nth-child(1) { order: 1; }
  .mosaic > :nth-child(2) { order: 2; }
  .mosaic > :nth-child(3) { order: 4; }
  .mosaic > :nth-child(4) { order: 3; }
  .mosaic > :nth-child(5) { order: 6; }
  .mosaic > :nth-child(6) { order: 5; }
  .mosaic > :nth-child(7) { order: 7; }
  .mosaic > :nth-child(8) { order: 8; }
  .wwa-stat { min-height: 160px; }
}

@media (max-width: 575.98px) {
  .mosaic__cell { min-height: 210px; }
  .mosaic__tile { padding: 22px 18px; }
  .mosaic__icon { margin-bottom: 12px; font-size: 34px; }
  .mosaic__label { font-size: 0.75rem; }
  .mosaic__text { font-size: 1.125rem; }
  .mosaic__text--small { font-size: 0.875rem; }
  .mosaic__list { font-size: 1.125rem; }
  .wwa-stat { min-height: 140px; padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mosaic__photo img,
  .trust__item summary::before { transition: none; }
  .mosaic__photo:hover img { transform: none; }
}
.mosaic__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}
.mosaic__photo:hover img {
  transform: scale(1.06);
  filter: grayscale(0);
}
.expertise-panel--service-cops {
  --partner-primary: #1c5ca8;
  --partner-accent: #a31f2f;
}
.expertise-panel--neptune {
  --partner-primary: #1b2a4a;
  --partner-accent: #2aa9c7;
}

.expertise-panel__text h3 {
  color: var(--partner-primary, var(--ns-blue-dark));
}

.expertise-panel__link {
  color: var(--partner-accent, #e51a22);
}
.expertise-panel__link:hover {
  color: color-mix(in srgb, var(--partner-accent, #e51a22), #000 14%);
}

.expertise-panel__media--service-cops { --tint: #1c5ca8; }
.expertise-panel__media--neptune { --tint: #2aa9c7; }

#tab-service-cops.is-active { border-bottom-color: #a31f2f; }
#tab-service-cops:hover { color: #1c5ca8; }

#tab-neptune.is-active { border-bottom-color: #2aa9c7; }
#tab-neptune:hover { color: #1b2a4a; }
.expertise-panel__logo {
  display: block;
  align-self: flex-start;
  width: auto;
  height: auto;
  max-width: 280px;
  max-height: 96px;
  object-fit: contain;
  margin: 0 0 22px;
}
.product-rows {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.product-row--reverse .product-row__art { order: 2; }
.product-row--reverse .product-row__body { order: 1; }

.product-row__art {
  display: flex;
  justify-content: center;
}
.product-row__art img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

/* Placeholder art until the real transparent cutout is ready */
.product-row__art--placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px dashed var(--ns-line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ns-sunken);
}
.product-row__art--placeholder i {
  font-size: 64px;
  color: var(--ns-muted);
}

/* Photo (non-cutout) fallback — used for Egret/Lodge.jpg */
.product-row__art--photo img {
  max-width: 360px;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.product-row__body {
  max-width: 440px;
}
.product-row__logo {
  display: block;
  height: auto;
  max-height: 56px;
  width: auto;
  max-width: 200px;
  margin: 0 0 20px;
}
.product-row__body h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
}
.product-row__body p {
  margin: 0 0 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ns-ink-soft);
}

@media (max-width: 767.98px) {
  .product-row,
  .product-row--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    text-align: center;
  }
  .product-row--reverse .product-row__art,
  .product-row--reverse .product-row__body,
  .product-row .product-row__art,
  .product-row .product-row__body {
    order: initial;
  }
  .product-row__art img,
  .product-row__art--photo img { max-width: 260px; }
  .product-row__body { max-width: none; margin: 0 auto; }
  .product-row__logo { margin-left: auto; margin-right: auto; }
}
.solution-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.solution-panel__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.9);
  mix-blend-mode: multiply;
}

.solution-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 10, 25, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .solution-panel__bg { transition: none; }
}
.solution-block {
  background: var(--ns-bg);
}
.btn-more--live svg {
  animation: btn-more-nudge 1.7s ease-in-out infinite;
}
.btn-more--live:hover svg {
  animation-play-state: paused;
}
@keyframes btn-more-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn-more--live svg { animation: none; }
}
.hero .hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(0, 116, 179, 0.9) 0%,
    rgba(0, 116, 179, 0.75) 30%,
    rgba(0, 116, 179, 0.35) 55%,
    rgba(0, 116, 179, 0.08) 75%,
    rgba(0, 116, 179, 0) 92%
  );
}
.hero .hero-slide.is-active img { transform: scale(1.03); }
/* Dynamic hero content: crossfades headline, sub-copy and CTA label in sync
   with the slideshow (handled by main.js). */
.hero-headline-text,
.hero-sub-text,
.hero-cta-text {
  display: inline-block;
  transition: opacity 0.35s ease;
}
.hero-headline-text.is-fading,
.hero-sub-text.is-fading,
.hero-cta-text.is-fading {
  opacity: 0;
}

.hero-sub {
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 56ch;
  margin: 0 0 36px;
  text-shadow: 0 2px 28px rgba(4, 12, 24, 0.4);
}

/* Red, self-nudging hero CTA — points toward whichever product is on screen */
.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  background: #ec1c24;
  border: 1px solid #ec1c24;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-hero-cta:hover {
  color: #fff;
  background: color-mix(in srgb, #ec1c24, #000 14%);
  border-color: color-mix(in srgb, #ec1c24, #000 14%);
}
.btn-hero-cta svg {
  animation: btn-more-nudge 1.7s ease-in-out infinite;
}
.btn-hero-cta:hover svg {
  animation-play-state: paused;
}

/* Slow the Ken Burns zoom to match the slower slide interval (9s) */
.hero .hero-slide img {
  transition: transform 9000ms ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline-text,
  .hero-sub-text,
  .hero-cta-text { transition: none; }
  .btn-hero-cta svg { animation: none; }
}
/* ── Round hero buttons ─────────────────────────────────────────── */
.btn-hero-primary,
.btn-hero-ghost,
.btn-hero-cta {
  border-radius: 999px;
}

/* ── Slower, sliding text crossfade (was instant opacity-only) ────── */
.hero-headline-text,
.hero-sub-text,
.hero-cta-text {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-headline-text.is-fading,
.hero-sub-text.is-fading,
.hero-cta-text.is-fading {
  opacity: 0;
  transform: translateY(8px);
}
.hero-sector-tag__text {
  transition: opacity 0.6s ease;
}

/* ── Hero headline in HealthPal's rounded display font ─────────────── */
.hero-title {
  font-family: "Fredoka", "DM Sans", system-ui, sans-serif;
  font-weight: 600;
}

/* ── Bold nav links, green on hover instead of red ─────────────────── */
:root {
  --nav-hover-green: #22c55e;
}
.site-nav__link {
  font-weight: 700;
}
.site-nav__link:hover {
  color: var(--nav-hover-green);
}

/* ── Dual logo: white by default, red once the header is scrolled ──── */
.site-header .logo {
  position: relative;
}
.site-header .logo img {
  transition: opacity 0.25s ease;
}
.site-header .logo:has(.logo-img--light) {
  overflow: visible;
}
.site-header .logo .logo-img--light {
  margin: 0;
}
.site-header .logo .logo-img--dark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
}
.header.site-header.is-scrolled .logo-img--light,
.header.site-header.has-open-menu .logo-img--light,
.header.site-header.is-nav-open .logo-img--light {
  opacity: 0;
}
.header.site-header.is-scrolled .logo-img--dark,
.header.site-header.has-open-menu .logo-img--dark,
.header.site-header.is-nav-open .logo-img--dark {
  opacity: 1;
}

/* ── Desktop nav flyout: right-side drawer instead of a below-nav
       dropdown (mobile hamburger nav is untouched) ───────────────────── */
@media (min-width: 1200px) {
  .nav-panel {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: auto;
    bottom: 0;
    width: min(420px, 92vw);
    max-height: none;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid rgba(7, 28, 51, 0.08);
    box-shadow: -30px 0 60px -30px rgba(7, 28, 51, 0.45);
    transform: translateX(100%);
    transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s;
    z-index: 998;
  }
  .site-nav__item.is-open > .nav-panel {
    transform: translateX(0);
  }

  .nav-panel--links,
  .nav-panel--links.nav-panel--insights,
  .nav-panel--cols,
  .nav-panel--contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-panel__links,
  .nav-panel--insights .nav-panel__links {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
    padding: 28px 28px 8px;
  }

  .nav-panel__media {
    min-height: 200px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .nav-col {
    padding: 22px 28px;
    border-right: 0;
    border-bottom: 1px solid var(--ns-line);
  }
  .nav-col:last-child { border-bottom: 0; }
  .nav-col__icon { margin-bottom: 12px; font-size: 36px; }

  .nav-panel--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    padding: 20px;
  }

  .nav-panel--contact {
    display: block;
    padding: 0;
  }
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form {
    padding: 24px 28px;
  }
  .nav-panel--contact .nav-contact__map {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-headline-text,
  .hero-sub-text,
  .hero-cta-text,
  .site-header .logo img { transition: none; }
  .nav-panel { transition: none; }
}

/* ============================================================
   Contact page: brand-tinted info-card band + rounded map/form hub
   (this is the block that was described but never actually shipped
   as a file last time — it's here now)
   ============================================================ */

.contact-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 56px 44px;
  color: inherit;
  transition: transform 0.25s ease;
}
.contact-card:hover { transform: translateY(-4px); color: inherit; }

.contact-card--light { background: var(--ns-bg); color: var(--ns-navy); }
.contact-card--blue  { background: var(--ns-blue); color: #fff; }
.contact-card--navy  { background: var(--ns-navy); color: #fff; }

.contact-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  font-size: 24px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.contact-card--light .contact-card__icon {
  color: #ec1c24;
  border-color: rgba(236, 28, 36, 0.35);
  background: rgba(236, 28, 36, 0.08);
}

.contact-card__title { margin: 0 0 6px; font-size: 1.375rem; color: inherit; }
.contact-card--light .contact-card__title { color: var(--ns-blue-dark); }

.contact-card__text { margin: 0 0 24px; font-size: 1rem; opacity: 0.92; }

.contact-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1.5px solid currentColor;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-card--light .contact-card__btn { color: var(--ns-blue-dark); }
.contact-card--light:hover .contact-card__btn { background: var(--ns-blue-dark); color: #fff; }
.contact-card--blue .contact-card__btn,
.contact-card--navy .contact-card__btn { color: #fff; }
.contact-card--blue:hover .contact-card__btn { background: #fff; color: var(--ns-blue); }
.contact-card--navy:hover .contact-card__btn { background: #fff; color: var(--ns-navy); }
.contact-card__btn svg { transition: transform 0.2s ease; }
.contact-card:hover .contact-card__btn svg { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .contact-band { grid-template-columns: minmax(0, 1fr); }
  .contact-card { padding: 44px 32px; }
}

.contact-hub__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 56px;
  align-items: stretch;
}

.contact-hub__map {
  position: relative;
  isolation: isolate;
  min-height: 420px;
  border-radius: 20px;
  overflow: hidden;
}
.contact-hub__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}
.contact-hub__address {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 18px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ns-navy);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: 0 16px 34px -18px rgba(7, 28, 51, 0.4);
}
.contact-hub__address i { flex: 0 0 auto; margin-top: 2px; color: #ec1c24; font-size: 18px; }

.contact-hub__form { display: flex; flex-direction: column; justify-content: center; }
.contact-hub__title {
  margin: 12px 0 16px;
  font-family: "Fredoka", "DM Sans", sans-serif;
  font-size: clamp(1.875rem, 3.4vw, 2.75rem);
  line-height: 1.1;
}
.contact-hub__lead {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ns-ink-soft);
  max-width: 52ch;
}

.contact-field {
  display: block;
  width: 100%;
  padding: 12px 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ns-navy);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--ns-line);
  border-radius: 0;
  outline: 0;
  resize: none;
  transition: border-color 0.2s ease;
}
.contact-field::placeholder { color: var(--ns-muted); }
.contact-field:focus { border-bottom-color: var(--ns-blue); }

.contact-hub__fields .btn-more { margin-top: 8px; }

@media (max-width: 991.98px) {
  .contact-hub__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-hub__map { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-card,
  .contact-card__btn svg { transition: none; }
  .contact-card:hover { transform: none; }
}


.page-banner {
  padding: 100px 0 36px;
}
.page-banner__title {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  margin-bottom: 8px;
}
.page-banner__lead {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  margin-bottom: 18px;
}
.page-banner__crumbs {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .page-banner { padding-top: 88px; }
}

@media (max-width: 575.98px) {
  .page-banner { padding: 80px 0 28px; }
}
/* ── Nav panels: back below the nav bar (not a side drawer), with a
       distinctive open animation instead of a plain dropdown ────────── */
@media (min-width: 1200px) {

  /* Revert the drawer positioning back to the original below-nav layout */
  .nav-panel {
    position: absolute;
    top: 100%;
    left: var(--panel-gap);
    right: var(--panel-gap);
    bottom: auto;
    width: auto;
    max-height: calc(100vh - var(--header-h) - 12px);
    border: 1px solid rgba(0, 130, 207, 0.3);
    border-top: 0;
    box-shadow: 0 30px 60px -30px rgba(7, 28, 51, 0.45);
    z-index: auto;
  }

  .nav-panel--links,
  .nav-panel--links.nav-panel--insights,
  .nav-panel--cols {
    display: grid;
  }
  .nav-panel--links { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .nav-panel--links.nav-panel--insights { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }

  .nav-panel__links,
  .nav-panel--insights .nav-panel__links {
    padding: 32px 40px;
  }
  .nav-panel__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, auto);
    grid-auto-flow: column;
    column-gap: 48px;
    align-content: center;
  }
  .nav-panel--insights .nav-panel__links {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .nav-panel__media {
    min-height: 285px;
    border-top-left-radius: 56px;
    border-top-right-radius: 0;
  }

  .nav-panel--cols { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .nav-col {
    padding: 32px 18px 36px;
    border-right: 1px solid var(--ns-line);
    border-bottom: 0;
  }
  .nav-col:last-child { border-right: 0; }
  .nav-col__icon { font-size: 40px; margin-bottom: 20px; }

  .nav-panel--cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    padding: 40px;
  }

  .nav-panel--contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.3fr);
    gap: 48px;
    padding: 40px;
  }
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form {
    padding: 0;
  }
  .nav-panel--contact .nav-contact__map {
    display: block;
  }

  /* ── 1. Blind reveal — panel unclips downward instead of fading ── */
  .nav-panel {
    opacity: 1;
    transform: none;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.45s;
  }
  .site-nav__item.is-open > .nav-panel {
    visibility: visible;
    clip-path: inset(0 0 0% 0);
    transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
  }

  /* ── 2. Staggered content cascade — items arrive one after another ── */
  .nav-link-item,
  .nav-col,
  .nav-card,
  .nav-panel__media,
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form,
  .nav-panel--contact .nav-contact__map {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .site-nav__item.is-open .nav-link-item,
  .site-nav__item.is-open .nav-col,
  .site-nav__item.is-open .nav-card,
  .site-nav__item.is-open .nav-panel__media,
  .site-nav__item.is-open .nav-panel--contact .nav-contact__info,
  .site-nav__item.is-open .nav-panel--contact .nav-contact__form,
  .site-nav__item.is-open .nav-panel--contact .nav-contact__map {
    opacity: 1;
    transform: none;
  }

  .nav-panel__links .nav-link-item:nth-child(1) { transition-delay: 0.08s; }
  .nav-panel__links .nav-link-item:nth-child(2) { transition-delay: 0.12s; }
  .nav-panel__links .nav-link-item:nth-child(3) { transition-delay: 0.16s; }
  .nav-panel__links .nav-link-item:nth-child(4) { transition-delay: 0.20s; }
  .nav-panel__links .nav-link-item:nth-child(5) { transition-delay: 0.24s; }
  .nav-panel__links .nav-link-item:nth-child(6) { transition-delay: 0.28s; }
  .nav-panel__media { transition-delay: 0.10s; }

  .nav-panel--cols .nav-col:nth-child(1) { transition-delay: 0.10s; }
  .nav-panel--cols .nav-col:nth-child(2) { transition-delay: 0.16s; }
  .nav-panel--cols .nav-col:nth-child(3) { transition-delay: 0.22s; }
  .nav-panel--cols .nav-col:nth-child(4) { transition-delay: 0.28s; }
  .nav-panel--cols .nav-col:nth-child(5) { transition-delay: 0.34s; }
  .nav-panel--cols .nav-col:nth-child(6) { transition-delay: 0.40s; }
  .nav-panel--cols .nav-col:nth-child(7) { transition-delay: 0.46s; }

  .nav-panel--cards .nav-card:nth-child(1) { transition-delay: 0.10s; }
  .nav-panel--cards .nav-card:nth-child(2) { transition-delay: 0.16s; }
  .nav-panel--cards .nav-card:nth-child(3) { transition-delay: 0.22s; }
  .nav-panel--cards .nav-card:nth-child(4) { transition-delay: 0.28s; }

  .nav-panel--contact .nav-contact__info { transition-delay: 0.10s; }
  .nav-panel--contact .nav-contact__form { transition-delay: 0.16s; }
  .nav-panel--contact .nav-contact__map { transition-delay: 0.22s; }

  /* ── 3. Active-tab connector — a small diamond "threads" the open
         trigger to the top edge of its panel ── */
  .site-nav__item.has-panel > .site-nav__link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid rgba(0, 130, 207, 0.3);
    border-top: 1px solid rgba(0, 130, 207, 0.3);
    transform: translate(-50%, 50%) rotate(45deg);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 2;
  }
  .site-nav__item.is-open > .site-nav__link::after {
    opacity: 1;
    transition-delay: 0.15s;
  }
}

@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  .nav-panel {
    transition: none;
    clip-path: none;
  }
  .site-nav__item.is-open > .nav-panel {
    clip-path: none;
  }
  .nav-link-item,
  .nav-col,
  .nav-card,
  .nav-panel__media,
  .nav-panel--contact .nav-contact__info,
  .nav-panel--contact .nav-contact__form,
  .nav-panel--contact .nav-contact__map,
  .site-nav__item.has-panel > .site-nav__link::after {
    transition: none;
    transition-delay: 0s;
  }
}
/* ============================================================
   Product Stack — pinned card pile (products.html)
   ============================================================ */
.product-stack-section {
  padding: 72px 0 120px;
  background: var(--ns-bg);
  overflow: visible;
}

.product-stack__container {
  max-width: none;
  padding-left: clamp(16px, 4vw, 56px);
  padding-right: clamp(16px, 4vw, 56px);
}

/* Cards run the full width. The logo rail shares the cards' grid
   cell and straddles their left edge (as on salesforce.com): the
   gutter shows the left part of each logo, the rest is clipped so it
   reads as tucked behind the card, and the active logo's pill sits
   on top of the card edge. */
.product-stack__layout {
  /* Pile geometry, shared with main.js (read via getComputedStyle). */
  --stack-top: 92px;     /* where the pile starts (header is 76px) */
  --stack-peek: 14px;    /* edge of each covered card left showing */
  --stack-visible: 5;    /* covered edges kept on screen at once */
  --stack-card-h: calc(100vh - var(--stack-top) - 16px - var(--stack-visible) * var(--stack-peek));
  --rail-w: 176px;       /* width of a rail pill */
  --rail-overlap: 60px;  /* how far the rail reaches onto the card */
  /* rail's pinned position: roughly centred on the top card, never
     above the pile's strips */
  --rail-top: max(calc(var(--stack-top) + var(--stack-visible) * var(--stack-peek) + 24px), calc(50vh - 260px));
  display: grid;
  grid-template-columns: var(--rail-w) minmax(0, 1fr);
  align-items: start;
}

.product-stack__rail {
  grid-column: 1;
  grid-row: 1;
  position: sticky;
  top: var(--rail-top);
  /* Start the same distance down the first card as where it pins, so
     the rail rides up with that card from below and settles in step
     with it instead of waiting at the card's top edge. */
  margin-top: calc(var(--rail-top) - var(--stack-top));
  z-index: 25;           /* above the card pile */
  align-self: start;
}
.product-stack__rail-list {
  position: relative;
  height: 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Only the product whose card is on top of the pile shows: its logo
   pill slides in from the left over the card edge (as the Agentforce
   pill does on salesforce.com) while the previous one slides back
   out. All pills share one spot, so the logo never jumps vertically.
   The whole rail stays tucked away until the pile is on screen
   (.is-shown, toggled by main.js). */
.product-stack__rail-list li {
  position: absolute;
  top: 0;
  left: 0;
}
.product-stack__rail-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--rail-w);
  height: 52px;
  padding: 8px 22px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 26px -12px rgba(7, 28, 51, 0.35), 0 0 0 1px var(--ns-line);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-110%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease,
              visibility 0s linear 0.5s;
}
.product-stack__rail.is-shown .product-stack__rail-list a.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0.12s, 0.12s, 0s;  /* let the outgoing pill clear first */
}
.product-stack__rail-list img {
  display: block;
  width: 120px;
  height: 36px;
  object-fit: contain;
}

.product-stack {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-left: calc(var(--rail-w) - var(--rail-overlap));
  position: relative;
  display: block;
  overflow: visible;
}
/* Sticky items keep their margin box inside .product-stack, so the
   pile needs trailing room equal to the item margin; without it the
   older cards get shoved up just before the last one lands. */
.product-stack::after {
  content: "";
  display: block;
  height: 16vh;
}

/* The wrapper is the sticky element: all ten share .product-stack as
   their containing block, so every card stays pinned until the whole
   pile has been read. Each pins one tab-height lower than the one
   before, leaving the previous card's top edge showing. main.js
   lifts the whole pile (--lift) once more than --stack-visible
   strips would stack up, so older strips slide away under the header. */
.product-stack__item {
  position: sticky;
  top: calc(var(--stack-top) + var(--i, 0) * var(--stack-peek));
  z-index: calc(10 + var(--i, 0));
  display: block;
  height: var(--stack-card-h);
  min-height: 400px;
  margin-bottom: 16vh;   /* scroll travel between cards */
}
.product-stack__item:last-child { margin-bottom: 0; }

.product-stack__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  border-radius: 26px;
  box-shadow: 0 -8px 24px -14px rgba(7, 28, 51, 0.5),
              0 44px 90px -44px rgba(7, 28, 51, 0.6);
  transform-origin: top center;
  /* --depth: how many cards sit on top of this one (0 → n).
     --lift:  how far the whole pile has been raised, in strips.
     --fade:  0 → 1 as this card's strip slides under the header. */
  --depth: 0;
  --lift: 0;
  --fade: 0;
  transform: translateY(calc(var(--lift) * var(--stack-peek) * -1))
             scale(calc(1 - min(var(--depth), 3) * 0.035));
  opacity: calc(1 - var(--fade));
  will-change: transform, opacity;
}
/* Covered cards dim as the next one slides over them. */
.product-stack__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: #071c33;
  opacity: calc(min(var(--depth), 3) * 0.15);
}

.product-stack__card--g1 { background: linear-gradient(135deg, #071c33 0%, #0074b3 100%); }
.product-stack__card--g2 { background: linear-gradient(135deg, #0092e0 0%, #071c33 100%); }
.product-stack__card--g3 { background: linear-gradient(135deg, #ec1c24 0%, #071c33 100%); }
.product-stack__card--g4 { background: linear-gradient(135deg, #071c33 0%, #ec1c24 100%); }

/* Desktop: the rail carries the logos. Narrow screens (no rail) show
   the logo at the top of each card instead. */
.product-stack__logo {
  display: none;
  margin-bottom: 18px;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.45);
}
.product-stack__logo img {
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
}

.product-stack__body {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  flex: 1;
  min-height: 0;
  padding: clamp(24px, 3vw, 48px);
  /* clear the rail pill that overlaps the card's left edge */
  padding-left: calc(var(--rail-overlap) + clamp(28px, 3vw, 56px));
}
.product-stack__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 0;
}

.product-stack__visual {
  position: relative;
  margin: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}
.product-stack__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-stack__visual--right img { object-position: 75% center; }
/* Transparent cut-out images float on a soft glow instead of a frame. */
.product-stack__visual--cutout {
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
  box-shadow: none;
}
.product-stack__visual--cutout img {
  object-fit: contain;
  padding: 8px;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.35));
}

.product-stack__title {
  max-width: 20ch;
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.product-stack__text {
  max-width: 60ch;
  margin: 0 0 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
}

.product-stack__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.product-stack__chips li {
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
}

.product-stack__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--ns-navy);
  background: #fff;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-stack__cta:hover {
  color: var(--ns-navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0, 0, 0, 0.4);
}
.product-stack__cta svg { transition: transform 0.2s ease; }
.product-stack__cta:hover svg { transform: translateX(4px); }

@media (max-width: 991.98px) {
  .product-stack__layout { grid-template-columns: minmax(0, 1fr); }
  .product-stack__rail { display: none; }
  .product-stack { padding-left: 0; }
  .product-stack__logo { display: inline-flex; }
}

/* Laptop-height screens: fewer strips and a tighter card. */
@media (min-width: 992px) and (max-height: 820px) {
  .product-stack__layout {
    --stack-top: 88px;
    --stack-peek: 12px;
    --stack-visible: 4;
  }
  .product-stack__layout { --rail-top: calc(var(--stack-top) + 4 * var(--stack-peek) + 16px); }
  .product-stack__rail-list { height: 42px; }
  .product-stack__rail-list a { height: 42px; padding: 6px 22px; }
  .product-stack__rail-list img { height: 28px; }
  .product-stack__body { padding: 22px 28px; padding-left: calc(var(--rail-overlap) + 32px); gap: 28px; }
  .product-stack__title { margin-bottom: 10px; font-size: clamp(1.4rem, 2.2vw, 2rem); max-width: 24ch; }
  .product-stack__text {
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .product-stack__chips { margin-bottom: 18px; }
  .product-stack__chips li { padding: 5px 12px; font-size: 0.75rem; }
  .product-stack__cta { padding: 11px 22px; }
}

/* Narrow or very short screens: plain list of cards, no pile. */
@media (max-width: 991.98px), (max-height: 540px) {
  .product-stack__item {
    position: relative;
    top: auto;
    height: auto;
    min-height: 0;
    margin-bottom: 24px;
  }
  .product-stack__item:last-child { margin-bottom: 0; }
  .product-stack::after { display: none; }

  .product-stack__card {
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px -24px rgba(7, 28, 51, 0.5);
    transform: none;
    opacity: 1;
  }
  .product-stack__card::after { display: none; }
  .product-stack__body { grid-template-columns: minmax(0, 1fr); }
  .product-stack__visual { order: -1; aspect-ratio: 16 / 9; }
}
@media (max-width: 991.98px) {
  .product-stack__body { padding-left: clamp(18px, 3vw, 48px); }
}
@media (max-width: 575.98px) {
  .product-stack__body { padding: 22px 18px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  .product-stack__cta,
  .product-stack__cta svg,
  .product-stack__rail-list a,
  .product-stack__rail-list img { transition: none; }
  .product-stack__cta:hover { transform: none; }
}
/* ── Team photo hover: gradient wash rises from the bottom of the
       PHOTO only, not the name/role text below it ───────────────── */
.team-member__photo {
  position: relative;
  overflow: hidden;
}
.team-member__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 116, 179, 0.85) 0%,
    rgba(0, 116, 179, 0.35) 45%,
    rgba(0, 116, 179, 0) 75%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.team-member:hover .team-member__photo::after {
  opacity: 1;
}

.team-member__photo img {
  display: block;
  width: 100%;
  transition: transform 0.5s ease;
}
.team-member:hover .team-member__photo img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .team-member__photo::after,
  .team-member__photo img {
    transition: none;
  }
  .team-member:hover .team-member__photo img {
    transform: none;
  }
}
/* Industries page (solutions.html) */
.industry-model { background: var(--ns-surface); }
.industry-model__title {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ns-navy);
}
.industry-model__text { color: var(--ns-ink-soft); line-height: 1.75; margin: 0; }

.industry-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.industry-step {
  padding: 28px 24px;
  background: var(--ns-surface);
  border: 1px solid var(--ns-line);
  border-top: 3px solid var(--ns-blue);
  border-top-right-radius: 28px;
}
.industry-step:nth-child(2) { border-top-color: #ec1c24; }
.industry-step i { display: block; margin-bottom: 16px; font-size: 32px; line-height: 1; color: var(--ns-blue); }
.industry-step h3 { margin: 0 0 8px; font-size: 1.125rem; color: var(--ns-navy); }
.industry-step p { margin: 0; font-size: 0.9375rem; line-height: 1.6; color: var(--ns-ink-soft); }

/* sticky jump bar */
.industry-jump {
  position: sticky;
  top: var(--header-h, 76px);
  transition: top 0.3s ease;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-block: 1px solid var(--ns-line);
}
.industry-jump__list {
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.industry-jump__list::-webkit-scrollbar { display: none; }
.industry-jump__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ns-navy);
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  background: var(--ns-surface);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.industry-jump__link i { font-size: 1rem; color: var(--ns-blue); transition: color 0.2s ease; }
.industry-jump__link:hover { color: var(--ns-blue); border-color: var(--ns-blue); }
.industry-jump__link.is-active {
  color: #fff;
  background: var(--ns-blue);
  border-color: var(--ns-blue);
}
.industry-jump__link.is-active i { color: #fff; }

/* when the header slides away, the jump bar moves up to the top */
.header.is-hidden ~ .main .industry-jump { top: 0; }

/* industry split cards */
.industry {
  padding: 56px 0;
  background: var(--ns-surface);
  scroll-margin-top: calc(var(--header-h, 76px) + 64px);
}
.industry:first-of-type { padding-top: 88px; }
.industry-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  min-height: 560px;
  background: linear-gradient(135deg, #eef4fb 0%, #f7f9fd 55%, #ffffff 100%);
  border: 1px solid var(--ns-line);
  border-radius: 28px 120px 28px 28px;
  box-shadow: 0 40px 80px -56px rgba(7, 28, 51, 0.45);
}
.industry-card--flip {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  border-radius: 120px 28px 28px 28px;
}
.industry-card--flip .industry-card__content { order: 2; }
.industry-card--flip .industry-card__media { order: 1; border-radius: 120px 0 0 28px; }

.industry-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 64px clamp(32px, 5vw, 72px);
  overflow: hidden;
}
.industry-card__index {
  position: absolute;
  top: -0.12em;
  right: 0.08em;
  font-size: clamp(9rem, 16vw, 15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 146, 224, 0.14);
  pointer-events: none;
  user-select: none;
}
.industry-card--flip .industry-card__index { right: auto; left: auto; right: 0.08em; }
.industry-card__title {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 18px;
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ns-navy);
}
.industry-card__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #ec1c24 0 40%, var(--ns-blue) 40% 100%);
}
.industry-card__lead {
  position: relative;
  margin: 0 0 12px;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ns-navy);
}
.industry-card__text {
  position: relative;
  margin: 0 0 28px;
  line-height: 1.75;
  color: var(--ns-ink-soft);
}
.industry-card__cta { position: relative; margin-top: 28px; }

.industry-card__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 0 120px 28px 0;
  isolation: isolate;
}
.industry-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.industry-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 28, 51, 0) 55%, rgba(7, 28, 51, 0.55) 100%);
  pointer-events: none;
}
.industry-card:hover .industry-card__media img { transform: scale(1.05); }


/* platform logos */
.industry-logos {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.industry-logo {
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease;
}
.industry-logo img { display: block; height: 40px; width: auto; max-width: 128px; object-fit: contain; }
.industry-logos:hover .industry-logo { opacity: 0.55; }
.industry-logos .industry-logo:hover,
.industry-logos .industry-logo:focus-visible { opacity: 1; transform: translateY(-3px) scale(1.04); }

/* more sectors grid */
.more-sectors {
  margin-top: 56px;
  padding: 96px 0;
  background: var(--ns-bg);
}
.more-sectors__head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.more-sectors__title {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ns-navy);
}
.more-sectors__lead { margin: 0; line-height: 1.7; color: var(--ns-ink-soft); }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.sector-tile {
  display: flex;
  flex-direction: column;
  padding: 32px 28px 28px;
  background: var(--ns-surface);
  border: 1px solid var(--ns-line);
  border-top: 4px solid var(--ns-blue);
  border-radius: 6px 6px 20px 20px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.sector-tile:nth-child(3n + 2) { border-top-color: #ec1c24; }
.sector-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -32px rgba(7, 28, 51, 0.45);
}
.sector-tile__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  font-size: 1.375rem;
  color: var(--ns-blue);
  background: var(--ns-sunken);
  border-radius: 12px;
}
.sector-tile__title { margin: 0 0 8px; font-size: 1.1875rem; font-weight: 600; color: var(--ns-navy); }
.sector-tile__text { flex: 1 1 auto; margin: 0 0 22px; font-size: 0.9375rem; line-height: 1.6; color: var(--ns-ink-soft); }
.sector-tile__logos { gap: 16px 24px; margin: 0; padding-top: 18px; border-top: 1px solid var(--ns-line); }
.sector-tile__logos .industry-logo img { height: 28px; max-width: 110px; }

.industry-cta { padding: 100px 0; }

@media (max-width: 991px) {
  .industry-steps { grid-template-columns: minmax(0, 1fr); }
  .industry { padding: 28px 0; }
  .industry:first-of-type { padding-top: 48px; }
  .industry-card,
  .industry-card--flip {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    border-radius: 24px 64px 24px 24px;
  }
  .industry-card__media,
  .industry-card--flip .industry-card__media {
    order: -1;
    aspect-ratio: 16 / 10;
    border-radius: 24px 64px 0 0;
  }
  .industry-card--flip .industry-card__content { order: 0; }
  .industry-card__content { padding: 36px 24px 40px; }
  .industry-cta { padding: 72px 0; }
  .more-sectors { margin-top: 28px; padding: 64px 0; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sector-tile:nth-child(3n + 2) { border-top-color: var(--ns-blue); }
  .sector-tile:nth-child(4n + 2),
  .sector-tile:nth-child(4n + 3) { border-top-color: #ec1c24; }
}
@media (max-width: 575px) {
  .industry-logo img { height: 36px; }
  .sector-grid { grid-template-columns: minmax(0, 1fr); }
  .sector-tile:nth-child(n) { border-top-color: var(--ns-blue); }
  .sector-tile:nth-child(even) { border-top-color: #ec1c24; }
}
@media (prefers-reduced-motion: reduce) {
  .industry-logo,
  .sector-tile,
  .industry-card__media img { transition: none; }
  .industry-logos .industry-logo:hover,
  .sector-tile:hover,
  .industry-card:hover .industry-card__media img { transform: none; }
}
/* ============================================================
   Hero — brand-blue scrim, white headline, "now showing" bar.
   Load AFTER main.css (main.css still supplies the blue scrim,
   the slideshow and the red Visit button; this file lays them out).
   ============================================================ */
.hero {
  --hero-ink: #0b1b2e;             /* text inside the white bar               */
  --hero-muted: #5b6b80;           /* small labels inside the bar             */
  --hero-navy: #071c33;            /* bar icons                               */
  --hero-red: #ec1c24;             /* underline under the highlighted word    */
  --hero-accent-text: #8fd4ff;     /* highlighted word (light tint of the brand blue) */
  --hero-title-size: clamp(2.25rem, 4.4vw, 4rem);

  padding-top: 120px;
}
.hero .container { z-index: 3; }
.hero .hero-main { padding-bottom: 0; }
.hero .hero-inner { max-width: 760px; }

/* ── Kicker (the sector tag) + headline ─────────────────────────────── */
.hero-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Room for 3 headline lines, bottom-aligned: the kicker stays glued to the
     headline while everything below stays put as slides change. */
  min-height: calc(var(--hero-title-size) * 1.08 * 3 + 3.25rem);
}
.hero .hero-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero-sector-tag__text { transition: opacity 0.6s ease; }
.hero-sector-tag__text.is-fading { opacity: 0; }

.hero .hero-title {
  max-width: 15em;
  margin: 0 0 20px;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: var(--hero-title-size);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero .hero-headline-text { display: block; }
.hero .hero-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--hero-accent-text);
}
/* Hand-drawn underline (its colour is inside the SVG: %23ec1c24 = #ec1c24) */
.hero .hero-accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -0.16em;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 50 3, 120 2, 197 7' fill='none' stroke='%23ec1c24' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 20, 40, 0.35));
}

.hero .hero-sub {
  min-height: calc(1.6em * 4);              /* room for 4 lines, same reason */
  max-width: 50ch;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.hero .hero-sub-text { display: block; }

/* ── "Now showing" bar: industry + product on screen, and the red Visit button ── */
.hero-bar-wrap { position: relative; z-index: 3; padding-top: 32px; padding-bottom: 40px; }

.hero-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 800px);
  padding: 12px 12px 12px 6px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 30px 60px -26px rgba(0, 30, 60, 0.6);
}

.hero-bar__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 8px 20px;
}
.hero-bar__field + .hero-bar__field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: #e3e8ef;
}
.hero-bar__field > i {
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--hero-navy);
  opacity: 0.85;
}
.hero-bar__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero-bar__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.hero-bar__value {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--hero-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.6s ease;
}
.hero-bar__value.is-fading { opacity: 0; }

/* The red Visit button (main.css: .btn-hero-cta) sits in the bar */
.hero-bar .btn-hero-cta {
  min-height: 58px;
  gap: 16px;
  padding: 0 26px 0 28px;
  border-radius: 16px;
  justify-content: space-between;
  font-size: 0.98rem;
  box-shadow: 0 14px 26px -14px rgba(236, 28, 36, 0.8);
}
.hero-bar .hero-cta-text { display: inline-block; }

/* ── Short desktop screens (e.g. 1366×768 laptops) ──────────────────── */
@media (min-width: 992px) and (max-height: 820px) {
  .hero { --hero-title-size: clamp(2.1rem, 3.6vw, 3.35rem); padding-top: 100px; }
  .hero .hero-sub { min-height: calc(1.6em * 3); }
  .hero-bar-wrap { padding-top: 20px; padding-bottom: 28px; }
}

/* ── Tablet ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-bar .btn-hero-cta { grid-column: 1 / -1; margin: 8px 6px 0 10px; }
}

/* ── Phone ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero { padding-top: 96px; }
  .hero .hero-sub { min-height: 0; }
  .hero-head { min-height: calc(var(--hero-title-size) * 1.08 * 2 + 3.25rem); }
  /* the copy spans the full width here, so the brand-blue scrim covers the whole photo */
  .hero .hero-scrim {
    background: linear-gradient(180deg, rgba(0, 116, 179, 0.88) 0%, rgba(0, 116, 179, 0.78) 55%, rgba(0, 96, 150, 0.7) 100%);
  }
  .hero-bar { grid-template-columns: 1fr; padding: 8px; border-radius: 20px; }
  .hero-bar__field { padding: 10px 14px; }
  .hero-bar__field + .hero-bar__field::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .hero-bar .btn-hero-cta { grid-column: auto; margin: 6px 0 0; }
  .hero-bar-wrap { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bar__value,
  .hero-sector-tag__text { transition: none; }
}
/* ============================================================
   NepServ navigation — "floating capsule" (desktop, >= 1200px).
   Load AFTER main.css and hero.css. The mobile menu is untouched.

   - The logo stays where it always was; links + search live in a
     frosted-white capsule (same mist as the hero).
   - A glider (nav-extras.js) slides between links.
   - Menus are floating white cards, not a full-width bar.
   - "Our Expertise" is a master/detail spotlight, not a row of columns.
   - The capsule shrinks on scroll; Ctrl/Cmd + K opens search.
   ============================================================ */

/* mobile menu keeps the original look: hide the desktop-only extras */
.nav-spot, .nav-kbd, .nav-glider { display: none; }

@media (min-width: 1200px) {
  .nav-kbd { display: inline-block; }
  .nav-glider { display: block; }

  .site-header {
    --cap-h: 60px;
    --cap-top: 14px;
    --cap-bottom: calc(var(--cap-top) + var(--cap-h));
    --nav-mist: rgba(255, 255, 255, 0.82);
    --nav-ink: #0b2540;
    --nav-text: rgba(11, 37, 64, 0.78);
    --nav-line: rgba(7, 28, 51, 0.08);
    --nav-soft: #eef4fa;
    --nav-tile: rgba(0, 146, 224, 0.1);
    --nav-blue: #0074b3;
  }
  .site-header.is-scrolled { --cap-h: 54px; --cap-top: 10px; }

  /* ── Header strip is invisible; logo + capsule float on the page ─────── */
  body .header.site-header,
  body .header.site-header.is-scrolled,
  body .header.site-header.has-open-menu,
  body .header.site-header.is-nav-open,
  body.index-page .header.site-header:not(.is-scrolled):not(.has-open-menu):not(.is-nav-open) {
    height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
  }

  /* bar keeps the original layout: logo left, everything else right */
  body .site-header .site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 0;
    width: 100%;
    height: var(--cap-h);
    margin: var(--cap-top) 0 0;
    padding: 0 var(--bar-pad);
    background: none;
    border: 0;
    transition: height 0.35s ease, margin 0.35s ease;
  }
  body .site-header .logo { --logo-h: 44px; grid-column: 1; grid-row: 1; pointer-events: auto; }

  /* the capsule is drawn behind the nav + actions columns */
  body .site-header .site-header__bar::before {
    content: "";
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: stretch;
    z-index: 0;
    border-radius: 999px;
    background: var(--nav-mist);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px -20px rgba(0, 40, 80, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    pointer-events: auto;
  }
  body .header.site-header.is-scrolled .site-header__bar::before { background: rgba(255, 255, 255, 0.94); }

  /* logo: light on the hero, dark (on a little white pill) once scrolled */
  body .header.site-header.has-open-menu:not(.is-scrolled) .logo-img--light,
  body .header.site-header.is-nav-open:not(.is-scrolled) .logo-img--light { opacity: 1; }
  body .header.site-header.has-open-menu:not(.is-scrolled) .logo-img--dark,
  body .header.site-header.is-nav-open:not(.is-scrolled) .logo-img--dark { opacity: 0; }
  body .header.site-header.is-scrolled .logo {
    padding: 6px 14px;
    margin-left: -14px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 12px 28px -16px rgba(0, 40, 80, 0.5);
  }
  body .header.site-header.is-scrolled .logo .logo-img--dark { left: 14px; }

  /* ── Nav + actions sit in the middle of the capsule ──────────────────── */
  body .site-header .site-nav,
  body .site-header .site-header__actions {
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
    pointer-events: auto;
  }
  body .site-header .site-nav { grid-column: 2; grid-row: 1; padding: 0 4px 0 10px; }
  body .site-header .site-header__actions { grid-column: 3; grid-row: 1; padding: 0 8px 0 2px; }
  body .site-header .site-nav__list { position: relative; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; height: auto; }
  body .site-header .site-nav__item { display: flex; align-items: center; height: auto; margin: 0; padding: 0; }

  body .site-header .site-nav__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 11px 16px;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: var(--nav-text);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  body .site-header .site-nav__link:hover,
  body .site-header .site-nav__item.is-open > .site-nav__link,
  body .site-header .site-nav__link:focus-visible,
  body .site-header .site-nav__link.is-current,
  body .site-header .site-nav__item.is-current > .site-nav__link { color: var(--nav-ink); }
  body .site-header .site-nav__link:focus-visible { outline: 2px solid var(--nav-blue); outline-offset: 2px; }
  body .site-header .site-nav__link::before { display: none; }

  /* chevron replaces the old connector/underline */
  body .site-header .site-nav__item.has-panel > .site-nav__link::after {
    content: "";
    position: static;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 9px;
    padding: 0;
    border: solid currentColor;
    border-width: 0 1.6px 1.6px 0;
    background: none;
    clip-path: none;
    box-shadow: none;
    opacity: 0.55;
    transform: rotate(45deg);
    transition: transform 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
  }
  body .site-header .site-nav__item.is-open > .site-nav__link::after { opacity: 1; margin-bottom: 0; transform: rotate(225deg); }
  body .site-header .site-nav__item::after { display: none; }

  /* hover bridge so the pointer can cross the gap to the card */
  body .site-header .site-nav__item.has-panel { position: relative; }
  body .site-header .site-nav__item.has-panel::before {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    top: 100%;
    height: 34px;
  }

  /* Glider (injected by nav-extras.js) */
  .nav-glider {
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    height: 40px;
    width: 0;
    border-radius: 999px;
    background: rgba(0, 116, 179, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translate(0, 0);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), width 0.45s cubic-bezier(0.16, 1, 0.3, 1), height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  }
  .nav-glider.is-on { opacity: 1; }
  .nav-glider.is-rest { background: rgba(7, 28, 51, 0.06); }

  /* ── Actions: search pill ────────────────────────────────────────────── */
  body .site-search__toggle {
    gap: 10px;
    width: auto;
    height: 42px;
    padding: 0 8px 0 15px;
    font-size: 16px;
    color: var(--nav-ink);
    background: rgba(7, 28, 51, 0.06);
    border: 0;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body .site-search__toggle:hover,
  body .site-search__toggle[aria-expanded="true"] { color: #fff; background: var(--nav-blue); border: 0; }
  .nav-kbd {
    padding: 4px 9px;
    font: 600 0.7rem/1 "DM Sans", system-ui, sans-serif;
    letter-spacing: 0.04em;
    color: rgba(11, 37, 64, 0.65);
    background: rgba(7, 28, 51, 0.07);
    border-radius: 999px;
  }
  body .site-search__toggle:hover .nav-kbd,
  body .site-search__toggle[aria-expanded="true"] .nav-kbd { color: #fff; background: rgba(255, 255, 255, 0.22); }

  /* ── Floating cards (all panels) — white ─────────────────────────────── */
  body .site-header .nav-panel {
    position: fixed;
    top: calc(var(--cap-bottom) + 12px);
    left: auto;
    right: var(--bar-pad);
    bottom: auto;
    width: min(980px, calc(100vw - 40px));
    max-height: calc(100vh - var(--cap-bottom) - 28px);
    overflow: hidden;
    padding: 14px;
    gap: 14px;
    color: var(--nav-ink);
    background: #fff;
    border: 1px solid var(--nav-line);
    border-radius: 28px;
    box-shadow: 0 40px 80px -30px rgba(0, 30, 60, 0.45), 0 2px 6px rgba(0, 30, 60, 0.06);
    pointer-events: auto;
    z-index: 998;
    clip-path: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.97);
    transform-origin: 80% 0;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
  }
  body .site-header .site-nav__item.is-open > .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
  }

  /* contents arrive one after another (own animation, replaces old cascade) */
  body .site-header .nav-link-item,
  body .site-header .nav-col,
  body .site-header .nav-card,
  body .site-header .nav-panel__media,
  body .site-header .nav-panel--contact .nav-contact__info,
  body .site-header .nav-panel--contact .nav-contact__form,
  body .site-header .nav-panel--contact .nav-contact__map,
  body .site-header .nav-spot {
    opacity: 1;
    transition-delay: 0s;
  }
  @keyframes nav-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  body .site-header .site-nav__item.is-open > .nav-panel :is(.nav-link-item, .nav-col, .nav-card, .nav-panel__media, .nav-spot, .nav-contact__info, .nav-contact__form, .nav-contact__map) {
    animation: nav-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(60ms + var(--i, 0) * 45ms);
  }

  /* ── Link panels (About Us, Perspectives) ────────────────────────────── */
  body .site-header .nav-panel--links { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  body .site-header .nav-panel--links.nav-panel--insights { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body .site-header .nav-panel__links,
  body .site-header .nav-panel--insights .nav-panel__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-rows: min-content;
    align-content: start;
    gap: 6px;
    padding: 8px;
  }
  body .site-header .nav-panel--insights .nav-panel__links { grid-template-columns: minmax(0, 1fr); }

  body .site-header .nav-link-item {
    gap: 14px;
    padding: 14px;
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--nav-ink);
    border-radius: 16px;
    transition: background-color 0.2s ease, transform 0.25s ease;
  }
  body .site-header .nav-link-item i {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    font-size: 19px;
    color: var(--nav-blue);
    background: var(--nav-tile);
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body .site-header .nav-link-item:hover { color: var(--nav-ink); background: var(--nav-soft); transform: translateX(3px); }
  body .site-header .nav-link-item:hover i { color: #fff; background: var(--ns-blue); }

  body .site-header .nav-panel__media {
    min-height: 260px;
    border-radius: 18px;
    background: var(--ns-blue-dark);
  }
  body .site-header .nav-panel__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 116, 179, 0) 55%, rgba(4, 30, 56, 0.35));
    pointer-events: none;
  }

  /* ── Our Reach: image cards ──────────────────────────────────────────── */
  body .site-header .nav-panel--cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  body .site-header .nav-card { color: var(--nav-ink); padding: 8px 8px 14px; border-radius: 20px; transition: background-color 0.25s ease; }
  body .site-header .nav-card:hover { color: var(--nav-ink); background: var(--nav-soft); }
  body .site-header .nav-card .nav-media { aspect-ratio: 4 / 3; border-radius: 14px; }
  body .site-header .nav-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nav-ink);
  }
  body .site-header .nav-card__title::after {
    content: "\2192";
    font-weight: 400;
    color: var(--ns-red, #ec1c24);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.25s ease;
  }
  body .site-header .nav-card:hover .nav-card__title { color: var(--nav-ink); }
  body .site-header .nav-card:hover .nav-card__title::after { opacity: 1; transform: none; }

  /* ── Our Expertise: master / detail ──────────────────────────────────── */
  body .site-header .nav-panel--cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  body .site-header .nav-col {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 11px 14px;
    color: var(--nav-ink);
    border: 0;
    border-radius: 16px;
    transition: background-color 0.2s ease;
  }
  body .site-header .nav-col:hover,
  body .site-header .nav-col:focus-visible,
  body .site-header .nav-col.is-spotlit { color: var(--nav-ink); background: var(--nav-soft); }
  body .site-header .nav-col__icon {
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 19px;
    color: var(--nav-blue);
    background: var(--nav-tile);
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body .site-header .nav-col:hover .nav-col__icon,
  body .site-header .nav-col.is-spotlit .nav-col__icon { color: #fff; background: var(--ns-blue); }
  body .site-header .nav-col__title { margin: 0; font-size: 0.97rem; font-weight: 600; line-height: 1.3; color: var(--nav-ink); }
  body .site-header .nav-col__text { color: rgba(11, 37, 64, 0.62); }

  /* with JS: list on the left, spotlight on the right */
  body .site-header .nav-panel--cols.has-spot {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: repeat(7, auto);
    column-gap: 14px;
    row-gap: 2px;
  }
  body .site-header .nav-panel--cols.has-spot .nav-col { grid-column: 1; grid-template-rows: auto; }
  body .site-header .nav-panel--cols.has-spot .nav-col__icon,
  body .site-header .nav-panel--cols.has-spot .nav-col__title { grid-row: 1; }
  body .site-header .nav-panel--cols.has-spot .nav-col__text { display: none; }
  body .site-header .nav-spot {
    position: relative;
    display: flex;
    grid-column: 2;
    grid-row: 1 / -1;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    color: #fff;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(94, 193, 255, 0.35), transparent 60%),
      linear-gradient(160deg, #0a5f98 0%, #073a63 60%, #06223d 100%);
    border-radius: 20px;
  }
  .nav-spot__icon {
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }
  .nav-spot__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8fd4ff; }
  .nav-spot__title { margin: 0; font-size: 1.55rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: #fff; }
  .nav-spot__text { margin: 0; font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
  .nav-spot__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: var(--ns-red, #ec1c24);
    border-radius: 999px;
    transition: transform 0.2s ease;
  }
  .nav-spot__cta:hover { color: #fff; transform: translateX(3px); }
  .nav-spot.is-swapping > * { animation: nav-rise 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }

  /* ── Reach Out: three tiles ──────────────────────────────────────────── */
  body .site-header .nav-panel--contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  body .site-header .nav-contact__info,
  body .site-header .nav-contact__form {
    padding: 24px;
    background: var(--nav-soft);
    border-radius: 20px;
  }
  body .site-header .nav-contact__title { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; color: var(--nav-ink); }
  body .site-header .nav-contact__label { color: var(--nav-blue); }
  body .site-header .nav-contact__text { color: var(--nav-ink); }
  body .site-header .nav-contact__social a { color: var(--nav-ink); }
  body .site-header .nav-contact__social a:hover { color: var(--ns-red, #ec1c24); }
  body .site-header .nav-contact__more { color: var(--nav-blue); }
  body .site-header .nav-contact__more:hover { color: var(--ns-red, #ec1c24); }
  body .site-header .nav-field {
    padding: 11px 14px;
    margin-bottom: 8px;
    color: var(--nav-ink);
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
  }
  body .site-header .nav-field::placeholder { color: rgba(11, 37, 64, 0.5); }
  body .site-header .nav-field:focus { border-color: var(--nav-blue); }
  body .site-header .nav-form__submit { margin-top: 10px; }
  body .site-header .nav-contact__map { min-height: 280px; border-radius: 20px; overflow: hidden; background: var(--nav-soft); }

  /* ── Search: a floating command palette ──────────────────────────────── */
  body .site-header .site-search {
    position: fixed;
    top: calc(var(--cap-bottom) + 12px);
    left: auto;
    right: var(--bar-pad);
    width: min(680px, calc(100vw - 40px));
    padding: 8px;
    color: var(--nav-ink);
    background: #fff;
    border: 1px solid var(--nav-line);
    border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(0, 30, 60, 0.45), 0 2px 6px rgba(0, 30, 60, 0.06);
    pointer-events: auto;
    z-index: 998;
    transform: translateY(-12px) scale(0.97);
    transform-origin: 80% 0;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  }
  body .site-header .site-search.is-open { transform: none; }
  body .site-header .site-search__form {
    gap: 12px;
    padding: 0 8px 0 18px;
    background: var(--nav-soft);
    border: 0;
    border-radius: 16px;
  }
  body .site-header .site-search__input { color: var(--nav-ink); }
  body .site-header .site-search__input::placeholder { color: rgba(11, 37, 64, 0.5); }
  body .site-header .site-search__submit { color: var(--nav-blue); }
  body .site-header .site-search__results { margin: 6px 0 0; padding: 0 2px 2px; }
  body .site-header .site-search__results li { list-style: none; }
  body .site-header .site-search__results a { padding: 12px 14px; color: var(--nav-ink); border: 0; border-radius: 14px; }
  body .site-header .site-search__results a:hover,
  body .site-header .site-search__results a:focus-visible { color: var(--nav-ink); background: var(--nav-soft); }
  body .site-header .site-search__results strong { color: var(--nav-blue); }
  body .site-header .site-search__results span,
  body .site-header .site-search__empty { color: rgba(11, 37, 64, 0.62); }
  body .site-header .site-search__results:empty { display: none; }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body .site-header .nav-panel__media { min-height: 220px; }
  body .site-header .nav-link-item { padding-block: 10px; }
}

@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  body .site-header .nav-panel,
  body .site-header .site-search,
  .nav-glider,
  body .site-header .site-header__bar { transition: none; }
  body .site-header .site-nav__item.is-open > .nav-panel :is(.nav-link-item, .nav-col, .nav-card, .nav-panel__media, .nav-spot, .nav-contact__info, .nav-contact__form, .nav-contact__map) { animation: none; }
}
/* ============================================================
   Hero — brand-blue scrim, white headline, "now showing" bar.
   Load AFTER main.css (main.css still supplies the blue scrim,
   the slideshow and the red Visit button; this file lays them out).
   ============================================================ */
.hero {
  --hero-ink: #0b1b2e;             /* text inside the white bar               */
  --hero-muted: #5b6b80;           /* small labels inside the bar             */
  --hero-navy: #071c33;            /* bar icons                               */
  --hero-red: #ec1c24;             /* underline under the highlighted word    */
  --hero-accent-text: #8fd4ff;     /* highlighted word (light tint of the brand blue) */
  --hero-title-size: clamp(2.25rem, 4.4vw, 4rem);

  padding-top: 120px;
}
.hero .container { z-index: 3; }
.hero .hero-main { padding-bottom: 0; }
.hero .hero-inner { max-width: 760px; }

/* ── Kicker (the sector tag) + headline ─────────────────────────────── */
.hero-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Room for 3 headline lines, bottom-aligned: the kicker stays glued to the
     headline while everything below stays put as slides change. */
  min-height: calc(var(--hero-title-size) * 1.08 * 3 + 3.25rem);
}
.hero .hero-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero-sector-tag__text { transition: opacity 0.6s ease; }
.hero-sector-tag__text.is-fading { opacity: 0; }

.hero .hero-title {
  max-width: 15em;
  margin: 0 0 20px;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: var(--hero-title-size);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero .hero-headline-text { display: block; }
.hero .hero-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--hero-accent-text);
}
/* Hand-drawn underline (its colour is inside the SVG: %23ec1c24 = #ec1c24) */
.hero .hero-accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -0.16em;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 50 3, 120 2, 197 7' fill='none' stroke='%23ec1c24' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 20, 40, 0.35));
}

.hero .hero-sub {
  min-height: calc(1.6em * 4);              /* room for 4 lines, same reason */
  max-width: 50ch;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.hero .hero-sub-text { display: block; }

/* ── "Now showing" bar: industry + product on screen, and the red Visit button ── */
.hero-bar-wrap { position: relative; z-index: 3; padding-top: 32px; padding-bottom: 40px; }

.hero-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: center;
  width: min(100%, 660px);
  padding: 8px 8px 8px 4px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 48px -24px rgba(0, 30, 60, 0.6);
}

.hero-bar__field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 4px 16px;
}
.hero-bar__field + .hero-bar__field::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: #e3e8ef;
}
.hero-bar__field > i {
  flex: none;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--hero-navy);
  opacity: 0.85;
}
.hero-bar__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hero-bar__label {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hero-muted);
}
.hero-bar__value {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--hero-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.6s ease;
}
.hero-bar__value.is-fading { opacity: 0; }

/* The red Visit button (main.css: .btn-hero-cta) sits in the bar */
.hero-bar .btn-hero-cta {
  min-height: 46px;
  gap: 12px;
  padding: 0 20px 0 22px;
  border-radius: 13px;
  justify-content: space-between;
  font-size: 0.9rem;
  box-shadow: 0 12px 22px -14px rgba(236, 28, 36, 0.8);
}
.hero-bar .hero-cta-text { display: inline-block; }

/* ── Short desktop screens (e.g. 1366×768 laptops) ──────────────────── */
@media (min-width: 992px) and (max-height: 820px) {
  .hero { --hero-title-size: clamp(2.1rem, 3.6vw, 3.35rem); padding-top: 100px; }
  .hero .hero-sub { min-height: calc(1.6em * 3); }
  .hero-bar-wrap { padding-top: 20px; padding-bottom: 28px; }
}

/* ── Tablet ─────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .hero-bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-bar .btn-hero-cta { grid-column: 1 / -1; margin: 8px 6px 0 10px; }
}

/* ── Phone ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero { padding-top: 96px; }
  .hero .hero-sub { min-height: 0; }
  .hero-head { min-height: calc(var(--hero-title-size) * 1.08 * 2 + 3.25rem); }
  /* the copy spans the full width here, so the brand-blue scrim covers the whole photo */
  .hero .hero-scrim {
    background: linear-gradient(180deg, rgba(0, 116, 179, 0.88) 0%, rgba(0, 116, 179, 0.78) 55%, rgba(0, 96, 150, 0.7) 100%);
  }
  .hero-bar { grid-template-columns: 1fr; padding: 8px; border-radius: 20px; }
  .hero-bar__field { padding: 10px 14px; }
  .hero-bar__field + .hero-bar__field::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .hero-bar .btn-hero-cta { grid-column: auto; margin: 6px 0 0; }
  .hero-bar-wrap { padding-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bar__value,
  .hero-sector-tag__text { transition: none; }
}
/* ============================================================
   Hero — brand-blue scrim, white headline, "now showing" bar.
   Load AFTER main.css (main.css still supplies the blue scrim,
   the slideshow and the red Visit button; this file lays them out).
   ============================================================ */
.hero {
  --hero-ink: #0b1b2e;             /* text inside the white bar               */
  --hero-muted: #5b6b80;           /* small labels inside the bar             */
  --hero-navy: #071c33;            /* bar icons                               */
  --hero-red: #ec1c24;             /* underline under the highlighted word    */
  --hero-accent-text: #8fd4ff;     /* highlighted word (light tint of the brand blue) */
  --hero-title-size: clamp(2.25rem, 4.4vw, 4rem);

  padding-top: 120px;
}
.hero .container { z-index: 3; }
.hero .hero-main { padding-bottom: 24px; }
.hero .hero-inner { max-width: 760px; }

/* ── Kicker (the sector tag) + headline ─────────────────────────────── */
.hero-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Room for 3 headline lines, bottom-aligned: the kicker stays glued to the
     headline while everything below stays put as slides change. */
  min-height: calc(var(--hero-title-size) * 1.08 * 3 + 3.25rem);
}
.hero .hero-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero-sector-tag__text { transition: opacity 0.6s ease; }
.hero-sector-tag__text.is-fading { opacity: 0; }

.hero .hero-title {
  max-width: 15em;
  margin: 0 0 20px;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: var(--hero-title-size);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero .hero-headline-text { display: block; }
.hero .hero-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--hero-accent-text);
}
/* Hand-drawn underline (its colour is inside the SVG: %23ec1c24 = #ec1c24) */
.hero .hero-accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -0.16em;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 50 3, 120 2, 197 7' fill='none' stroke='%23ec1c24' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 20, 40, 0.35));
}

.hero .hero-sub {
  min-height: calc(1.6em * 4);              /* room for 4 lines, same reason */
  max-width: 50ch;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.hero .hero-sub-text { display: block; }

/* ── Short desktop screens (e.g. 1366×768 laptops) ──────────────────── */
@media (min-width: 992px) and (max-height: 820px) {
  .hero { --hero-title-size: clamp(2.1rem, 3.6vw, 3.35rem); padding-top: 100px; }
  .hero .hero-sub { min-height: calc(1.6em * 3); }
}

/* ── Phone ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero { padding-top: 96px; }
  .hero .hero-sub { min-height: 0; }
  .hero-head { min-height: calc(var(--hero-title-size) * 1.08 * 2 + 3.25rem); }
  /* the copy spans the full width here, so the brand-blue scrim covers the whole photo */
  .hero .hero-scrim {
    background: linear-gradient(180deg, rgba(0, 116, 179, 0.88) 0%, rgba(0, 116, 179, 0.78) 55%, rgba(0, 96, 150, 0.7) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sector-tag__text { transition: none; }
}
/* ============================================================
   Hero — brand-blue scrim, white headline, "now showing" bar.
   Load AFTER main.css (main.css still supplies the blue scrim,
   the slideshow and the red Visit button; this file lays them out).
   ============================================================ */
.hero {
  --hero-ink: #0b1b2e;             /* text inside the white bar               */
  --hero-muted: #5b6b80;           /* small labels inside the bar             */
  --hero-navy: #071c33;            /* bar icons                               */
  --hero-red: #ec1c24;             /* underline under the highlighted word    */
  --hero-accent-text: #8fd4ff;     /* highlighted word (light tint of the brand blue) */
  --hero-title-size: clamp(2.25rem, 4.4vw, 4rem);

  padding-top: 120px;
}
.hero .container { z-index: 3; }
.hero .hero-main { padding-bottom: 24px; }
.hero .hero-inner { max-width: 760px; }

/* ── Kicker (the sector tag) + headline ─────────────────────────────── */
.hero-head {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* Room for 3 headline lines, bottom-aligned: the kicker stays glued to the
     headline while everything below stays put as slides change. */
  min-height: calc(var(--hero-title-size) * 1.08 * 3 + 3.25rem);
}
.hero .hero-kicker {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}
.hero-sector-tag__text { transition: opacity 0.6s ease; }
.hero-sector-tag__text.is-fading { opacity: 0; }

.hero .hero-title {
  max-width: 15em;
  margin: 0 0 20px;
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: var(--hero-title-size);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}
.hero .hero-headline-text { display: block; }
.hero .hero-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--hero-accent-text);
}
/* Hand-drawn underline (its colour is inside the SVG: %23ec1c24 = #ec1c24) */
.hero .hero-accent::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -0.16em;
  height: 0.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 10 C 50 3, 120 2, 197 7' fill='none' stroke='%23ec1c24' stroke-width='3.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0, 20, 40, 0.35));
}

.hero .hero-sub {
  min-height: calc(1.6em * 4);              /* room for 4 lines, same reason */
  max-width: 50ch;
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.0625rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.hero .hero-sub-text { display: block; }

/* ── Red Visit button (styled by main.css .btn-hero-cta) ─────────────── */
.hero .btn-hero-cta { margin-top: 28px; }

/* ── Short desktop screens (e.g. 1366×768 laptops) ──────────────────── */
@media (min-width: 992px) and (max-height: 820px) {
  .hero { --hero-title-size: clamp(2.1rem, 3.6vw, 3.35rem); padding-top: 100px; }
  .hero .hero-sub { min-height: calc(1.6em * 3); }
}

/* ── Phone ──────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .hero { padding-top: 96px; }
  .hero .hero-sub { min-height: 0; }
  .hero-head { min-height: calc(var(--hero-title-size) * 1.08 * 2 + 3.25rem); }
  /* the copy spans the full width here, so the brand-blue scrim covers the whole photo */
  .hero .hero-scrim {
    background: linear-gradient(180deg, rgba(0, 116, 179, 0.88) 0%, rgba(0, 116, 179, 0.78) 55%, rgba(0, 96, 150, 0.7) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-sector-tag__text { transition: none; }
}
/* ============================================================
   NepServ footer — light "closing statement" layout.
   Load AFTER main.css. Uses its own .ns-foot classes, so none of
   the old .site-footer rules apply to it.
   ============================================================ */
.ns-foot {
  --f-ink: #0b2540;
  --f-muted: #5b6b80;
  --f-line: rgba(11, 37, 64, 0.1);
  --f-blue: #0082cf;
  --f-blue-dark: #0074b3;
  --f-red: #ec1c24;
  position: relative;
  overflow: hidden;
  padding: 0 0 28px;
  color: var(--f-ink);
  font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, #eaf4fc 100%);
}
.ns-foot a { color: inherit; }

/* ── Closing statement ───────────────────────────────────────────────── */
.ns-foot__cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px 48px;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4.5vw, 64px);
  color: #fff;
  background: linear-gradient(120deg, var(--f-blue-dark) 0%, var(--f-blue) 100%);
  border-radius: 32px;
  box-shadow: 0 36px 70px -40px rgba(0, 90, 160, 0.7);
}
.ns-foot__eyebrow {
  margin: 0 0 12px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.ns-foot__title {
  margin: 0;
  max-width: 18em;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  text-wrap: balance;
}
.ns-foot__title em { font-style: normal; color: #bfe6ff; }
.ns-foot__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ns-foot__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--f-red);
  border-radius: 999px;
  box-shadow: 0 16px 30px -14px rgba(236, 28, 36, 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ns-foot__btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 20px 34px -14px rgba(236, 28, 36, 0.95); }
.ns-foot__btn svg { transition: transform 0.25s ease; }
.ns-foot__btn:hover svg { transform: translateX(4px); }
.ns-foot__mail { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }
.ns-foot__mail:hover { color: #fff; }

/* ── Columns ─────────────────────────────────────────────────────────── */
.ns-foot__main {
  display: grid;
  grid-template-columns: 1.25fr 1.2fr 0.8fr 1.1fr;
  gap: 44px 40px;
  padding: clamp(44px, 6vw, 72px) 0 40px;
}
.ns-foot__logo img { display: block; height: 40px; width: auto; }
.ns-foot__about { max-width: 26ch; margin: 18px 0 22px; font-size: 0.96rem; line-height: 1.65; color: var(--f-muted); }
.ns-foot__social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ns-foot__social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  color: var(--f-ink);
  background: #fff;
  border: 1px solid var(--f-line);
  border-radius: 12px;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.25s ease, border-color 0.2s ease;
}
.ns-foot__social a:hover { color: #fff; background: var(--f-blue); border-color: var(--f-blue); transform: translateY(-3px); }

.ns-foot__label {
  margin: 0 0 18px;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--f-blue-dark);
}
.ns-foot__list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.ns-foot__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.ns-foot__list a {
  position: relative;
  display: inline-block;
  font-size: 0.97rem;
  color: var(--f-ink);
  transition: color 0.2s ease, transform 0.25s ease;
}
.ns-foot__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -3px;
  height: 2px;
  background: var(--f-red);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ns-foot__list a:hover { color: var(--f-blue-dark); }
.ns-foot__list a:hover::after { right: 0; }

.ns-foot__cards { display: grid; gap: 10px; }
.ns-foot__card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  font-size: 0.94rem;
  font-style: normal;
  line-height: 1.5;
  color: var(--f-ink);
  background: #fff;
  border: 1px solid var(--f-line);
  border-radius: 16px;
  transition: border-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
a.ns-foot__card:hover { border-color: rgba(0, 130, 207, 0.5); transform: translateY(-2px); box-shadow: 0 14px 26px -18px rgba(0, 80, 140, 0.5); }
.ns-foot__card i { flex: none; margin-top: 2px; font-size: 1.1rem; color: var(--f-red); }

/* ── Watermark + bottom bar ──────────────────────────────────────────── */
.ns-foot__mark {
  margin: 20px 0 24px;
  font-size: clamp(4rem, 16.5vw, 15rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(0, 130, 207, 0.22);
  user-select: none;
  pointer-events: none;
}
.ns-foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 22px;
  font-size: 0.88rem;
  color: var(--f-muted);
  border-top: 1px solid var(--f-line);
}
.ns-foot__bar b { font-weight: 600; color: var(--f-ink); }
.ns-foot__made { display: inline-flex; align-items: center; gap: 8px; }
.ns-foot__made::before { content: ""; width: 8px; height: 8px; background: var(--f-red); border-radius: 50%; }

@media (max-width: 1100px) {
  .ns-foot__main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .ns-foot__cta { grid-template-columns: 1fr; border-radius: 24px; }
  .ns-foot__main { grid-template-columns: 1fr; gap: 34px; }
  .ns-foot__bar { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ns-foot a, .ns-foot a::after, .ns-foot__btn svg { transition: none; }
}
/* ============================================================
   NepServ navigation — "floating capsule" (desktop, >= 1200px).
   Load AFTER main.css and hero.css. The mobile menu is untouched.

   - The logo stays where it always was; links + search live in a
     frosted-white capsule (same mist as the hero).
   - A glider (nav-extras.js) slides between links.
   - Menus are floating white cards, not a full-width bar.
   - "Our Expertise" is a master/detail spotlight, not a row of columns.
   - The capsule shrinks on scroll; Ctrl/Cmd + K opens search.
   ============================================================ */

/* mobile menu keeps the original look: hide the desktop-only extras */
.nav-spot, .nav-kbd, .nav-glider { display: none; }

@media (min-width: 1200px) {
  .nav-kbd { display: inline-block; }
  .nav-glider { display: block; }

  .site-header {
    --cap-h: 60px;
    --cap-top: 14px;
    --cap-bottom: calc(var(--cap-top) + var(--cap-h));
    --nav-mist: rgba(255, 255, 255, 0.82);
    --nav-ink: #0b2540;
    --nav-text: rgba(11, 37, 64, 0.78);
    --nav-line: rgba(7, 28, 51, 0.08);
    --nav-soft: #eef4fa;
    --nav-tile: rgba(0, 146, 224, 0.1);
    --nav-blue: #0074b3;
  }
  .site-header.is-scrolled { --cap-h: 54px; --cap-top: 10px; }

  /* ── Header strip is invisible; logo + capsule float on the page ─────── */
  body .header.site-header,
  body .header.site-header.is-scrolled,
  body .header.site-header.has-open-menu,
  body .header.site-header.is-nav-open,
  body.index-page .header.site-header:not(.is-scrolled):not(.has-open-menu):not(.is-nav-open) {
    height: auto;
    background: transparent;
    border: 0;
    box-shadow: none;
    pointer-events: none;
  }

  /* bar keeps the original layout: logo left, everything else right */
  body .site-header .site-header__bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    column-gap: 0;
    width: 100%;
    height: var(--cap-h);
    margin: var(--cap-top) 0 0;
    padding: 0 var(--bar-pad);
    background: none;
    border: 0;
    transition: height 0.35s ease, margin 0.35s ease;
  }
  body .site-header .logo { --logo-h: 44px; grid-column: 1; grid-row: 1; pointer-events: auto; }

  /* the capsule is drawn behind the nav + actions columns */
  body .site-header .site-header__bar::before {
    content: "";
    grid-column: 2 / 4;
    grid-row: 1;
    align-self: stretch;
    z-index: 0;
    border-radius: 999px;
    background: var(--nav-mist);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 40px -20px rgba(0, 40, 80, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    pointer-events: auto;
  }
  body .header.site-header.is-scrolled .site-header__bar::before { background: rgba(255, 255, 255, 0.94); }

  /* logo: light on the hero, dark (on a little white pill) once scrolled */
  body .header.site-header.has-open-menu:not(.is-scrolled) .logo-img--light,
  body .header.site-header.is-nav-open:not(.is-scrolled) .logo-img--light { opacity: 1; }
  body .header.site-header.has-open-menu:not(.is-scrolled) .logo-img--dark,
  body .header.site-header.is-nav-open:not(.is-scrolled) .logo-img--dark { opacity: 0; }
  body .header.site-header.is-scrolled .logo {
    height: var(--cap-h);
    padding: 0 20px;
    margin-left: -20px;
    align-items: center;
    overflow: visible;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 999px;
    box-shadow: 0 12px 28px -16px rgba(0, 40, 80, 0.5);
  }
  /* the dark logo takes over the pill's size (it is wider than the light one) */
  body .header.site-header.is-scrolled .logo .logo-img--light { display: none; }
  body .header.site-header.is-scrolled .logo .logo-img--dark {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    margin: 0;
    opacity: 1;
    height: 32px;
    width: auto;
  }

  /* ── Nav + actions sit in the middle of the capsule ──────────────────── */
  body .site-header .site-nav,
  body .site-header .site-header__actions {
    position: relative;
    z-index: 1;
    align-self: stretch;
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
    pointer-events: auto;
  }
  body .site-header .site-nav { grid-column: 2; grid-row: 1; padding: 0 4px 0 10px; }
  body .site-header .site-header__actions { grid-column: 3; grid-row: 1; padding: 0 8px 0 2px; }
  body .site-header .site-nav__list { position: relative; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; height: auto; }
  body .site-header .site-nav__item { display: flex; align-items: center; height: auto; margin: 0; padding: 0; }

  body .site-header .site-nav__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    height: auto;
    margin: 0;
    padding: 11px 16px;
    font-size: 0.94rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    color: var(--nav-text);
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  body .site-header .site-nav__link:hover,
  body .site-header .site-nav__item.is-open > .site-nav__link,
  body .site-header .site-nav__link:focus-visible,
  body .site-header .site-nav__link.is-current,
  body .site-header .site-nav__item.is-current > .site-nav__link { color: var(--nav-ink); }
  body .site-header .site-nav__link:focus-visible { outline: 2px solid var(--nav-blue); outline-offset: 2px; }
  body .site-header .site-nav__link::before { display: none; }

  /* chevron replaces the old connector/underline */
  body .site-header .site-nav__item.has-panel > .site-nav__link::after {
    content: "";
    position: static;
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 0 3px 9px;
    padding: 0;
    border: solid currentColor;
    border-width: 0 1.6px 1.6px 0;
    background: none;
    clip-path: none;
    box-shadow: none;
    opacity: 0.55;
    transform: rotate(45deg);
    transition: transform 0.3s ease, opacity 0.2s ease, margin 0.3s ease;
  }
  body .site-header .site-nav__item.is-open > .site-nav__link::after { opacity: 1; margin-bottom: 0; transform: rotate(225deg); }
  body .site-header .site-nav__item::after { display: none; }

  /* hover bridge so the pointer can cross the gap to the card */
  body .site-header .site-nav__item.has-panel { position: relative; }
  body .site-header .site-nav__item.has-panel::before {
    content: "";
    position: absolute;
    left: -14px;
    right: -14px;
    top: 100%;
    height: 34px;
  }

  /* Glider (injected by nav-extras.js) */
  .nav-glider {
    position: absolute;
    z-index: 0;
    left: 0;
    top: 0;
    height: 40px;
    width: 0;
    border-radius: 999px;
    background: rgba(0, 116, 179, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translate(0, 0);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), width 0.45s cubic-bezier(0.16, 1, 0.3, 1), height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  }
  .nav-glider.is-on { opacity: 1; }
  .nav-glider.is-rest { background: rgba(7, 28, 51, 0.06); }

  /* ── Actions: search pill ────────────────────────────────────────────── */
  body .site-search__toggle {
    gap: 10px;
    width: auto;
    height: 42px;
    padding: 0 8px 0 15px;
    font-size: 16px;
    color: var(--nav-ink);
    background: rgba(7, 28, 51, 0.06);
    border: 0;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body .site-search__toggle:hover,
  body .site-search__toggle[aria-expanded="true"] { color: #fff; background: var(--nav-blue); border: 0; }
  .nav-kbd {
    padding: 4px 9px;
    font: 600 0.7rem/1 "DM Sans", system-ui, sans-serif;
    letter-spacing: 0.04em;
    color: rgba(11, 37, 64, 0.65);
    background: rgba(7, 28, 51, 0.07);
    border-radius: 999px;
  }
  body .site-search__toggle:hover .nav-kbd,
  body .site-search__toggle[aria-expanded="true"] .nav-kbd { color: #fff; background: rgba(255, 255, 255, 0.22); }

  /* ── Floating cards (all panels) — white ─────────────────────────────── */
  body .site-header .nav-panel {
    position: fixed;
    top: calc(var(--cap-bottom) + 12px);
    left: auto;
    right: var(--bar-pad);
    bottom: auto;
    width: min(980px, calc(100vw - 40px));
    max-height: calc(100vh - var(--cap-bottom) - 28px);
    overflow: hidden;
    padding: 14px;
    gap: 14px;
    color: var(--nav-ink);
    background: #fff;
    border: 1px solid var(--nav-line);
    border-radius: 28px;
    box-shadow: 0 40px 80px -30px rgba(0, 30, 60, 0.45), 0 2px 6px rgba(0, 30, 60, 0.06);
    pointer-events: auto;
    z-index: 998;
    clip-path: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(0.97);
    transform-origin: 80% 0;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
  }
  body .site-header .site-nav__item.is-open > .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s;
  }

  /* contents arrive one after another (own animation, replaces old cascade) */
  body .site-header .nav-link-item,
  body .site-header .nav-col,
  body .site-header .nav-card,
  body .site-header .nav-panel__media,
  body .site-header .nav-panel--contact .nav-contact__info,
  body .site-header .nav-panel--contact .nav-contact__form,
  body .site-header .nav-panel--contact .nav-contact__map,
  body .site-header .nav-spot {
    opacity: 1;
    transition-delay: 0s;
  }
  @keyframes nav-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  body .site-header .site-nav__item.is-open > .nav-panel :is(.nav-link-item, .nav-col, .nav-card, .nav-panel__media, .nav-spot, .nav-contact__info, .nav-contact__form, .nav-contact__map) {
    animation: nav-rise 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: calc(60ms + var(--i, 0) * 45ms);
  }

  /* ── Link panels (About Us, Perspectives) ────────────────────────────── */
  body .site-header .nav-panel--links { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  body .site-header .nav-panel--links.nav-panel--insights { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body .site-header .nav-panel__links,
  body .site-header .nav-panel--insights .nav-panel__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
    grid-auto-rows: min-content;
    align-content: start;
    gap: 6px;
    padding: 8px;
  }
  body .site-header .nav-panel--insights .nav-panel__links { grid-template-columns: minmax(0, 1fr); }

  body .site-header .nav-link-item {
    gap: 14px;
    padding: 14px;
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--nav-ink);
    border-radius: 16px;
    transition: background-color 0.2s ease, transform 0.25s ease;
  }
  body .site-header .nav-link-item i {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    font-size: 19px;
    color: var(--nav-blue);
    background: var(--nav-tile);
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body .site-header .nav-link-item:hover { color: var(--nav-ink); background: var(--nav-soft); transform: translateX(3px); }
  body .site-header .nav-link-item:hover i { color: #fff; background: var(--ns-blue); }

  body .site-header .nav-panel__media {
    min-height: 260px;
    border-radius: 18px;
    background: var(--ns-blue-dark);
  }
  body .site-header .nav-panel__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 116, 179, 0) 55%, rgba(4, 30, 56, 0.35));
    pointer-events: none;
  }

  /* ── Our Reach: image cards ──────────────────────────────────────────── */
  body .site-header .nav-panel--cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  body .site-header .nav-card { color: var(--nav-ink); padding: 8px 8px 14px; border-radius: 20px; transition: background-color 0.25s ease; }
  body .site-header .nav-card:hover { color: var(--nav-ink); background: var(--nav-soft); }
  body .site-header .nav-card .nav-media { aspect-ratio: 4 / 3; border-radius: 14px; }
  body .site-header .nav-card__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--nav-ink);
  }
  body .site-header .nav-card__title::after {
    content: "\2192";
    font-weight: 400;
    color: var(--ns-red, #ec1c24);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.2s ease, transform 0.25s ease;
  }
  body .site-header .nav-card:hover .nav-card__title { color: var(--nav-ink); }
  body .site-header .nav-card:hover .nav-card__title::after { opacity: 1; transform: none; }

  /* ── Our Expertise: master / detail ──────────────────────────────────── */
  body .site-header .nav-panel--cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
  body .site-header .nav-col {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    column-gap: 14px;
    padding: 11px 14px;
    color: var(--nav-ink);
    border: 0;
    border-radius: 16px;
    transition: background-color 0.2s ease;
  }
  body .site-header .nav-col:hover,
  body .site-header .nav-col:focus-visible,
  body .site-header .nav-col.is-spotlit { color: var(--nav-ink); background: var(--nav-soft); }
  body .site-header .nav-col__icon {
    display: grid;
    place-items: center;
    grid-row: 1 / span 2;
    width: 40px;
    height: 40px;
    margin: 0;
    font-size: 19px;
    color: var(--nav-blue);
    background: var(--nav-tile);
    border-radius: 12px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  body .site-header .nav-col:hover .nav-col__icon,
  body .site-header .nav-col.is-spotlit .nav-col__icon { color: #fff; background: var(--ns-blue); }
  body .site-header .nav-col__title { margin: 0; font-size: 0.97rem; font-weight: 600; line-height: 1.3; color: var(--nav-ink); }
  body .site-header .nav-col__text { color: rgba(11, 37, 64, 0.62); }

  /* with JS: list on the left, spotlight on the right */
  body .site-header .nav-panel--cols.has-spot {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-rows: repeat(7, auto);
    column-gap: 14px;
    row-gap: 2px;
  }
  body .site-header .nav-panel--cols.has-spot .nav-col { grid-column: 1; grid-template-rows: auto; }
  body .site-header .nav-panel--cols.has-spot .nav-col__icon,
  body .site-header .nav-panel--cols.has-spot .nav-col__title { grid-row: 1; }
  body .site-header .nav-panel--cols.has-spot .nav-col__text { display: none; }
  body .site-header .nav-spot {
    position: relative;
    display: flex;
    grid-column: 2;
    grid-row: 1 / -1;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    min-height: 100%;
    padding: 28px;
    overflow: hidden;
    color: #fff;
    background:
      radial-gradient(120% 90% at 100% 0%, rgba(94, 193, 255, 0.35), transparent 60%),
      linear-gradient(160deg, #0a5f98 0%, #073a63 60%, #06223d 100%);
    border-radius: 20px;
  }
  .nav-spot__icon {
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 150px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
  }
  .nav-spot__kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8fd4ff; }
  .nav-spot__title { margin: 0; font-size: 1.55rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; color: #fff; }
  .nav-spot__text { margin: 0; font-size: 0.95rem; line-height: 1.6; color: rgba(255, 255, 255, 0.86); }
  .nav-spot__cta {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    background: var(--ns-red, #ec1c24);
    border-radius: 999px;
    transition: transform 0.2s ease;
  }
  .nav-spot__cta:hover { color: #fff; transform: translateX(3px); }
  .nav-spot.is-swapping > * { animation: nav-rise 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }

  /* ── Reach Out: three tiles ──────────────────────────────────────────── */
  body .site-header .nav-panel--contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }
  body .site-header .nav-contact__info,
  body .site-header .nav-contact__form {
    padding: 24px;
    background: var(--nav-soft);
    border-radius: 20px;
  }
  body .site-header .nav-contact__title { margin: 0 0 14px; font-size: 1.1rem; font-weight: 700; color: var(--nav-ink); }
  body .site-header .nav-contact__label { color: var(--nav-blue); }
  body .site-header .nav-contact__text { color: var(--nav-ink); }
  body .site-header .nav-contact__social a { color: var(--nav-ink); }
  body .site-header .nav-contact__social a:hover { color: var(--ns-red, #ec1c24); }
  body .site-header .nav-contact__more { color: var(--nav-blue); }
  body .site-header .nav-contact__more:hover { color: var(--ns-red, #ec1c24); }
  body .site-header .nav-field {
    padding: 11px 14px;
    margin-bottom: 8px;
    color: var(--nav-ink);
    background: #fff;
    border: 1px solid transparent;
    border-radius: 12px;
  }
  body .site-header .nav-field::placeholder { color: rgba(11, 37, 64, 0.5); }
  body .site-header .nav-field:focus { border-color: var(--nav-blue); }
  body .site-header .nav-form__submit { margin-top: 10px; }
  body .site-header .nav-contact__map { min-height: 280px; border-radius: 20px; overflow: hidden; background: var(--nav-soft); }

  /* ── Search: a floating command palette ──────────────────────────────── */
  body .site-header .site-search {
    position: fixed;
    top: calc(var(--cap-bottom) + 12px);
    left: auto;
    right: var(--bar-pad);
    width: min(680px, calc(100vw - 40px));
    padding: 8px;
    color: var(--nav-ink);
    background: #fff;
    border: 1px solid var(--nav-line);
    border-radius: 24px;
    box-shadow: 0 40px 80px -30px rgba(0, 30, 60, 0.45), 0 2px 6px rgba(0, 30, 60, 0.06);
    pointer-events: auto;
    z-index: 998;
    transform: translateY(-12px) scale(0.97);
    transform-origin: 80% 0;
    transition: opacity 0.25s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
  }
  body .site-header .site-search.is-open { transform: none; }
  body .site-header .site-search__form {
    gap: 12px;
    padding: 0 8px 0 18px;
    background: var(--nav-soft);
    border: 0;
    border-radius: 16px;
  }
  body .site-header .site-search__input { color: var(--nav-ink); }
  body .site-header .site-search__input::placeholder { color: rgba(11, 37, 64, 0.5); }
  body .site-header .site-search__submit { color: var(--nav-blue); }
  body .site-header .site-search__results { margin: 6px 0 0; padding: 0 2px 2px; }
  body .site-header .site-search__results li { list-style: none; }
  body .site-header .site-search__results a { padding: 12px 14px; color: var(--nav-ink); border: 0; border-radius: 14px; }
  body .site-header .site-search__results a:hover,
  body .site-header .site-search__results a:focus-visible { color: var(--nav-ink); background: var(--nav-soft); }
  body .site-header .site-search__results strong { color: var(--nav-blue); }
  body .site-header .site-search__results span,
  body .site-header .site-search__empty { color: rgba(11, 37, 64, 0.62); }
  body .site-header .site-search__results:empty { display: none; }
}

@media (min-width: 1200px) and (max-height: 800px) {
  body .site-header .nav-panel__media { min-height: 220px; }
  body .site-header .nav-link-item { padding-block: 10px; }
}

@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  body .site-header .nav-panel,
  body .site-header .site-search,
  .nav-glider,
  body .site-header .site-header__bar { transition: none; }
  body .site-header .site-nav__item.is-open > .nav-panel :is(.nav-link-item, .nav-col, .nav-card, .nav-panel__media, .nav-spot, .nav-contact__info, .nav-contact__form, .nav-contact__map) { animation: none; }
}
/* Our Expertise spotlight: sector photo behind a brand-blue mist */
@media (min-width: 1200px) {
  .nav-spot__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
  }
  .nav-spot__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 0.6s ease, transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-spot__img.is-shown { opacity: 1; transform: scale(1); }
  .nav-spot__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(0deg, rgba(0, 74, 122, 0.94) 0%, rgba(0, 96, 150, 0.72) 42%, rgba(0, 116, 179, 0.32) 75%, rgba(0, 116, 179, 0.18) 100%),
      radial-gradient(120% 80% at 0% 100%, rgba(6, 34, 61, 0.55), transparent 70%);
  }
  body .site-header .nav-spot > :not(.nav-spot__media) { position: relative; z-index: 1; }
  body .site-header .nav-spot > .nav-spot__icon { position: absolute; color: rgba(255, 255, 255, 0.16); }
}
@media (min-width: 1200px) and (prefers-reduced-motion: reduce) {
  .nav-spot__img { transition: none; transform: none; }
}
/* ==========================================================================
   NepServ — sections below the hero  ("soft bento" system)
   Load AFTER main.css / hero.css / nav.css.  Additive: delete this file and
   the page falls back to the old look.

   Design language
   · 28px rounded cards on pale-blue / white / navy bands (no cut corners)
   · "chapter tags": a pill with a red dot + number above every heading
   · full-colour photography, revealed on hover instead of grey-and-multiply
   · logo "chips" in the marquees with edge fade
   ========================================================================== */

:root {
  --sx-ink: #0b2540;
  --sx-soft: #55637a;
  --sx-pale: #f3f8fd;
  --sx-pale-2: #e7f1fb;
  --sx-line: #dbe7f3;
  --sx-blue: #0082cf;
  --sx-sky: #3db4f2;
  --sx-red: #ec1c24;
  --sx-navy: #071c33;
  --sx-r: 28px;
  --sx-r-sm: 20px;
  --sx-shadow: 0 1px 2px rgba(7, 28, 51, .05), 0 14px 40px -18px rgba(7, 28, 51, .22);
  --sx-shadow-lg: 0 2px 4px rgba(7, 28, 51, .06), 0 30px 60px -24px rgba(7, 28, 51, .35);
  --sx-ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- shared pieces ------------------------------------------------ */

.positioning > .container::before,
.achievements > .container::before,
.expertise > .container::before,
.testimonials .section-title::before,
.portfolio .section-title::before,
.services .section-title::before,
.partners-lead {
  display: inline-flex;
  align-items: center;
  margin: 0 0 22px;
  padding: 8px 16px 8px 32px;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sx-blue);
  background:
    radial-gradient(circle at 17px 50%, var(--sx-red) 0 4px, transparent 5px),
    var(--sx-pale-2);
  border-radius: 999px;
}
.positioning > .container::before { content: "01 \00b7  Who we are"; }
.services .section-title::before { content: "02 \00b7  What we build"; }
.achievements > .container::before { content: "03 \00b7  By the numbers"; }
.expertise > .container::before { content: "04 \00b7  How we think"; }
.portfolio .section-title::before { content: "05 \00b7  Our products"; color: #8fd4ff; background: radial-gradient(circle at 17px 50%, var(--sx-red) 0 4px, transparent 5px), rgba(255, 255, 255, .09); }
.testimonials .section-title::before { content: "06 \00b7  In their words"; }

/* shared headings */
.services .section-title h2,
.portfolio .section-title h2,
.testimonials .section-title h2,
.expertise__title {
  margin: 0 0 14px;
  padding: 0;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: var(--sx-ink);
}
.services .section-title h2::after,
.portfolio .section-title h2::after,
.testimonials .section-title h2::after { display: none; }
.services .section-title p,
.portfolio .section-title p,
.testimonials .section-title p {
  max-width: 46ch;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--sx-soft);
}
.section-title { padding-bottom: clamp(28px, 4vw, 56px); }
.portfolio .section-number { display: none; }

/* pill button, used for "Explore all…" */
.btn-more {
  gap: 12px;
  padding: 8px 8px 8px 26px;
  font-size: .875rem;
  letter-spacing: .01em;
  text-transform: none;
  color: #fff;
  background: var(--sx-ink);
  box-shadow: var(--sx-shadow);
  transition: background .25s ease, transform .25s var(--sx-ease);
}
.btn-more svg {
  box-sizing: content-box;
  padding: 11px;
  color: #fff;
  background: var(--sx-red);
  border-radius: 50%;
}
.btn-more:hover { color: #fff; background: var(--sx-blue); transform: translateY(-2px); }
.section-more { margin-top: 44px; }

/* ---------- 01 positioning ---------------------------------------------- */

.positioning.section { background: #fff; }
.positioning .row { --bs-gutter-x: 2.5rem; --bs-gutter-y: 2rem; }

.positioning-panel {
  position: relative;
  align-items: flex-end;
  min-height: 460px;
  padding: 40px;
  background: var(--sx-navy);
  border-radius: 32px;
  box-shadow: var(--sx-shadow-lg);
}
.positioning-panel__bg {
  filter: none;
  mix-blend-mode: normal;
  transition: transform 1.2s var(--sx-ease);
}
.positioning-panel:hover .positioning-panel__bg { transform: scale(1.05); }
.positioning-panel::before {
  background: linear-gradient(180deg, rgba(7, 28, 51, 0) 20%, rgba(7, 28, 51, .55) 60%, rgba(7, 28, 51, .92) 100%);
}
.positioning-panel::after {
  content: "Kampala \00b7  Uganda";
  position: absolute;
  top: 24px;
  left: 24px;
  padding: 8px 14px 8px 28px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background:
    radial-gradient(circle at 14px 50%, var(--sx-red) 0 4px, transparent 5px),
    rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
}
.positioning-panel .positioning-title {
  position: relative;
  font-size: clamp(2rem, 3.4vw, 3rem);
  letter-spacing: -.035em;
  color: #fff;
}

.positioning-body { display: flex; flex-direction: column; justify-content: center; }
.positioning-body .lead-text {
  margin: 0 0 22px;
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.02em;
  color: var(--sx-ink);
}
.positioning-body p:not(.lead-text) {
  max-width: 62ch;
  margin: 0;
  font-size: 1.0625rem;
  color: var(--sx-soft);
}
.pos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}
.pos-chips li {
  padding: 10px 18px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--sx-ink);
  background: var(--sx-pale);
  border: 1px solid var(--sx-line);
  border-radius: 999px;
  transition: transform .3s var(--sx-ease), background .2s ease, color .2s ease;
}
.pos-chips li:hover { color: #fff; background: var(--sx-blue); transform: translateY(-3px); }

/* ---------- 02 services : bento ----------------------------------------- */

.services.section { background: var(--sx-pale); }

.service-tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
.service-tile { grid-column: span 5; }
.service-tile:nth-child(4n + 1),
.service-tile:nth-child(4n) { grid-column: span 7; }

.service-tile,
.service-tile--white {
  --reveal: 0;
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 360px;
  padding: 32px;
  color: var(--sx-ink);
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-r);
  box-shadow: var(--sx-shadow);
  overflow: hidden;
  transition: transform .5s var(--sx-ease), box-shadow .5s var(--sx-ease), color .3s ease, border-color .3s ease;
}
.service-tile:nth-child(1) { background: var(--sx-blue); border-color: var(--sx-blue); color: #fff; }
.service-tile:nth-child(3) { background: var(--sx-pale-2); border-color: var(--sx-pale-2); }
.service-tile:nth-child(3) .service-tile__num, .service-tile:nth-child(3) .service-tile__icon { background: #fff; }
.service-tile:nth-child(4n) { background: var(--sx-navy); border-color: var(--sx-navy); color: #fff; }

.service-tile:hover,
.service-tile:focus-visible {
  transform: translateY(-6px);
  box-shadow: var(--sx-shadow-lg);
  color: #fff;
  border-color: var(--sx-navy);
}

/* photo: hidden until hover, then fills the card in full colour */
.service-tile .service-tile__bg,
.service-tile--white .service-tile__bg {
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border-radius: 0;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity .55s ease, transform 1s var(--sx-ease);
}
.service-tile::before,
.service-tile--white::before {
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(7, 28, 51, .25), rgba(7, 28, 51, .9));
  opacity: 0;
  transition: opacity .45s ease;
}
.service-tile:hover .service-tile__bg,
.service-tile:focus-visible .service-tile__bg { opacity: 1; transform: scale(1); }
.service-tile:hover::before,
.service-tile:focus-visible::before { opacity: 1; }

/* number pill (top-left) and icon disc (top-right) */
.service-tile .service-tile__num,
.service-tile--white .service-tile__num {
  position: absolute;
  top: 28px;
  left: 32px;
  padding: 7px 14px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1;
  color: var(--sx-blue);
  background: var(--sx-pale-2);
  border-radius: 999px;
  transition: background .3s ease, color .3s ease;
}
.service-tile:nth-child(1) .service-tile__num,
.service-tile:nth-child(4n) .service-tile__num { color: #fff; background: rgba(255, 255, 255, .16); }
.service-tile:hover .service-tile__num { color: #fff; background: rgba(255, 255, 255, .18); }

.service-tile .service-tile__icon,
.service-tile--white .service-tile__icon {
  position: absolute;
  top: 24px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  font-size: 26px;
  color: var(--sx-blue);
  background: var(--sx-pale-2);
  border-radius: 50%;
  transition: transform .5s var(--sx-ease), background .3s ease, color .3s ease;
}
.service-tile:nth-child(1) .service-tile__icon,
.service-tile:nth-child(4n) .service-tile__icon { color: #fff; background: rgba(255, 255, 255, .16); }
.service-tile:hover .service-tile__icon { color: #fff; background: var(--sx-red); transform: rotate(-12deg) scale(1.08); }

.service-tile .service-tile__title,
.service-tile--white .service-tile__title {
  max-width: 18ch;
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: inherit;
}
.service-tile .service-tile__text,
.service-tile--white .service-tile__text {
  max-width: 44ch;
  color: var(--sx-soft);
  transition: color .3s ease;
}
.service-tile:nth-child(1) .service-tile__text,
.service-tile:nth-child(4n) .service-tile__text { color: rgba(255, 255, 255, .82); }
.service-tile:hover .service-tile__text { color: rgba(255, 255, 255, .88); }

.service-tile .service-tile__more,
.service-tile--white .service-tile__more {
  align-self: flex-start;
  gap: 10px;
  margin-top: 22px;
  padding: 6px 6px 6px 18px;
  font-size: .8125rem;
  letter-spacing: .02em;
  text-transform: none;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}
.service-tile__more svg {
  box-sizing: content-box;
  padding: 7px;
  color: #fff;
  background: var(--sx-red);
  border-radius: 50%;
}
.service-tile:hover .service-tile__more { color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------- call to action : floating card ------------------------------ */

.call-to-action.section {
  position: relative;
  width: min(calc(100% - 32px), 1272px);
  margin: clamp(32px, 5vw, 72px) auto;
  padding: clamp(56px, 8vw, 104px) 0;
  background: var(--sx-navy);
  border-radius: 36px;
  clip-path: none;
  overflow: hidden;
  isolation: isolate;
}
.call-to-action > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--sx-ease);
}
.call-to-action:hover > img { transform: scale(1.04); }
.call-to-action::before {
  z-index: -1;
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(61, 180, 242, .45), transparent 60%),
    linear-gradient(100deg, rgba(7, 28, 51, .96) 8%, rgba(7, 28, 51, .72) 55%, rgba(0, 130, 207, .55));
}
.call-to-action::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.5px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000);
  mask-image: linear-gradient(90deg, transparent 30%, #000);
  pointer-events: none;
}
.call-to-action .container { z-index: 1; }
.call-to-action h3 {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 5.2vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: #fff;
}
.call-to-action p {
  max-width: 44ch;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
}
.call-to-action .cta-btn-container { display: flex; align-items: center; justify-content: flex-end; }
.call-to-action .cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 10px 10px 30px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sx-ink);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
  transition: transform .35s var(--sx-ease), box-shadow .35s var(--sx-ease);
}
.call-to-action .cta-btn::after {
  content: "\2192";
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 1.25rem;
  color: #fff;
  background: var(--sx-red);
  border-radius: 50%;
  transition: transform .35s var(--sx-ease);
}
.call-to-action .cta-btn:hover { color: var(--sx-ink); background: #fff; transform: translateY(-3px); }
.call-to-action .cta-btn:hover::after { transform: translateX(4px) rotate(-45deg); }

/* ---------- 03 stats : bento -------------------------------------------- */

.achievements.section { background: #fff; }

.achievements__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3.5fr));
  grid-auto-rows: minmax(190px, auto);
  gap: 20px;
}
.achievements__numbers { display: contents; background: none; border: 0; }

.achievements__panel {
  grid-column: 1;
  grid-row: 1 / span 2;
  order: 0;
  min-height: 420px;
  padding: 36px;
  color: #fff;
  background: var(--sx-navy);
  border-radius: 32px;
  box-shadow: var(--sx-shadow-lg);
}
.achievements__bg { filter: none; mix-blend-mode: normal; transition: transform 1.2s var(--sx-ease); }
.achievements__panel:hover .achievements__bg { transform: scale(1.05); }
.achievements__panel::before {
  background: linear-gradient(200deg, rgba(0, 130, 207, .05) 10%, rgba(7, 28, 51, .55) 55%, rgba(7, 28, 51, .94));
}
.achievements__panel { justify-content: flex-end; }
.achievements__title { font-size: clamp(1.875rem, 3vw, 2.75rem); letter-spacing: -.035em; line-height: 1.05; }
.achievements__sub { margin-top: 16px; color: rgba(255, 255, 255, .82); }

.stat {
  position: relative;
  justify-content: flex-end;
  padding: 28px;
  overflow: hidden;
  background: var(--sx-pale);
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-r);
  transition: transform .5s var(--sx-ease), box-shadow .5s var(--sx-ease);
}
.stat:nth-child(2n), .stat:nth-child(n + 3) { border: 1px solid var(--sx-line); }
.stat:hover { transform: translateY(-5px); box-shadow: var(--sx-shadow-lg); }
.stat::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 26px;
  width: 12px;
  height: 12px;
  background: var(--sx-red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(236, 28, 36, .14);
}
.stat__num {
  font-size: clamp(3rem, 5vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -.05em;
  color: var(--sx-ink);
}
.stat:nth-child(2) .stat__num, .stat:nth-child(3) .stat__num { color: var(--sx-ink); }
.stat__label {
  margin-top: 12px;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sx-soft);
}
/* checkerboard: blue / pale / pale / navy */
.stat:nth-child(1) { background: var(--sx-blue); border-color: var(--sx-blue); }
.stat:nth-child(1) .stat__num, .stat:nth-child(1) .stat__label { color: #fff; }
.stat:nth-child(1)::after { background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .22); }
.stat:nth-child(4) { background: var(--sx-navy); border-color: var(--sx-navy); }
.stat:nth-child(4) .stat__num { color: #fff; }
.stat:nth-child(4) .stat__label { color: rgba(255, 255, 255, .7); }

/* ---------- partners : logo chips --------------------------------------- */

.partners.section { background: var(--sx-pale); padding: clamp(56px, 7vw, 96px) 0; }
.partners .container { text-align: center; }
.partners-lead { margin: 0 auto 36px; letter-spacing: .12em; font-size: .75rem; color: var(--sx-blue); }

:is(.portfolio, .partners) .logo-marquees {
  --tile-w: 232px;
  --tile-h: 116px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
:is(.portfolio, .partners) .logo-item { position: relative; }
:is(.portfolio, .partners) .logo-item::before {
  content: "";
  position: absolute;
  inset: 8px 8px;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: var(--sx-r-sm);
  box-shadow: 0 1px 2px rgba(7, 28, 51, .04);
  transition: transform .4s var(--sx-ease), box-shadow .4s var(--sx-ease), border-color .3s ease;
}
:is(.portfolio, .partners) .logo-item:hover::before,
:is(.portfolio, .partners) .logo-item:focus-visible::before {
  transform: translateY(-4px);
  border-color: var(--sx-sky);
  box-shadow: var(--sx-shadow);
}
:is(.portfolio, .partners) .logo-item img { position: relative; opacity: .72; }
:is(.portfolio, .partners) .logo-item:hover img { opacity: 1; transform: translateY(-4px); }

@media (max-width: 576px) {
  :is(.portfolio, .partners) .logo-marquees { --tile-w: 176px; --tile-h: 100px; }
}

/* ---------- 04 expertise : pill tabs + card ----------------------------- */

.expertise.section { background: #fff; }
.expertise__head { align-items: end; margin-bottom: 36px; }
.expertise__title { margin: 0; }
.expertise__intro { font-size: 1.125rem; color: var(--sx-soft); }

.expertise__tabs {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  padding: 6px;
  background: var(--sx-pale-2);
  border: 0;
  border-radius: 999px;
}
.expertise__tab {
  position: relative;
  margin: 0;
  padding: 14px 26px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  color: var(--sx-soft);
  background: transparent;
  border: 0;
  border-radius: 999px;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}
.expertise__tab:hover { color: var(--sx-ink); }
.expertise__tab.is-active {
  color: var(--sx-ink);
  background: #fff;
  box-shadow: 0 1px 2px rgba(7, 28, 51, .08), 0 8px 20px -8px rgba(7, 28, 51, .25);
}
.expertise__tab.is-active::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  vertical-align: 1px;
  background: var(--sx-red);
  border-radius: 50%;
}
.expertise__tab:focus-visible { outline: 2px solid var(--sx-blue); outline-offset: 2px; }

.expertise-panel {
  gap: 0;
  margin-top: 28px;
  padding: 14px;
  background: var(--sx-pale);
  border: 1px solid var(--sx-line);
  border-radius: 36px;
}
.expertise-panel:not([hidden]) { animation: sx-panel .6s var(--sx-ease) both; }
@keyframes sx-panel { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.expertise-panel__text { padding: clamp(28px, 4.4vw, 60px); }
.expertise-panel__text h3 {
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  letter-spacing: -.035em;
  color: var(--sx-ink);
}
.expertise-panel__text p { font-size: 1.0625rem; color: var(--sx-soft); }
.expertise-panel__link {
  gap: 10px;
  padding: 6px 6px 6px 20px;
  font-size: .875rem;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  background: var(--sx-ink);
  border-radius: 999px;
  transition: background .25s ease, transform .35s var(--sx-ease);
}
.expertise-panel__link:hover { color: #fff; background: var(--sx-blue); transform: translateY(-2px); }
.expertise-panel__link svg {
  box-sizing: content-box;
  padding: 8px;
  background: var(--sx-red);
  border-radius: 50%;
}

.expertise-panel .expertise-panel__media,
.expertise-panel .expertise-panel__media--white {
  min-height: 400px;
  background: var(--sx-pale-2);
  border-radius: 26px;
  box-shadow: none;
}
.expertise-panel .expertise-panel__media img,
.expertise-panel .expertise-panel__media--white img {
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  filter: none;
  mix-blend-mode: normal;
  transition: transform 1.2s var(--sx-ease);
}
.expertise-panel:hover .expertise-panel__media img { transform: scale(1.04); }
.expertise-panel .expertise-panel__media::before,
.expertise-panel .expertise-panel__media--white::before {
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 28, 51, .45));
}
.expertise-panel .expertise-panel__media::after,
.expertise-panel .expertise-panel__media--white::after {
  content: "NepServ";
  left: 20px;
  bottom: 20px;
  z-index: 2;
  width: auto;
  height: auto;
  padding: 8px 14px 8px 28px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background:
    radial-gradient(circle at 14px 50%, var(--sx-red) 0 4px, transparent 5px),
    rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
}
.expertise-panel__media--blue::after { position: absolute; content: "NepServ"; }

@media (max-width: 991.98px) {
  .expertise__tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .expertise__tabs::-webkit-scrollbar { display: none; }
  .expertise__tab { flex: 0 0 auto; padding: 12px 20px; }
  .expertise-panel { padding: 10px; border-radius: 28px; }
  .expertise-panel .expertise-panel__media { order: -1; min-height: 260px; border-radius: 20px; }
}

/* ---------- 05 products : navy band ------------------------------------- */

.portfolio.section.light-background {
  position: relative;
  width: calc(100% - 32px);
  margin: 0 auto;
  background:
    radial-gradient(60% 70% at 85% 0%, rgba(0, 130, 207, .38), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(61, 180, 242, .16), transparent 60%),
    var(--sx-navy);
  border-radius: 40px;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 104px);
  padding-bottom: clamp(56px, 7vw, 104px);
}
.portfolio .section-title h2 { color: #fff; }
.portfolio .section-title p { color: rgba(255, 255, 255, .72); }
.portfolio .logo-marquees { display: grid; gap: 4px; }
.portfolio .logo-item::before { background: #fff; border-color: transparent; }
.portfolio .logo-item img { opacity: .85; }
.portfolio .logo-item:hover::before { box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6); border-color: var(--sx-sky); }
.portfolio .btn-more { color: var(--sx-ink); background: #fff; }
.portfolio .btn-more:hover { color: #fff; background: var(--sx-blue); }

/* ---------- 06 testimonials --------------------------------------------- */

.testimonials.section { background: var(--sx-pale); padding: clamp(64px, 8vw, 120px) 0; }
.testimonials .swiper { overflow: visible; padding-bottom: 64px; }
.testimonials .swiper-wrapper { align-items: stretch; }
.testimonials .swiper-slide {
  box-sizing: border-box;
  width: min(620px, 88%);
  height: auto;
  margin-right: 20px;
  opacity: .5;
  transform: scale(.97);
  transition: opacity .5s ease, transform .6s var(--sx-ease);
}
.testimonials .swiper-slide-active { opacity: 1; transform: none; }

.testimonial-item {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(28px, 4vw, 48px);
  text-align: left;
  background: #fff;
  border: 1px solid var(--sx-line);
  border-radius: 32px;
  box-shadow: var(--sx-shadow);
}
.testimonial-item p { margin: 0 0 32px; flex: 1; }
.testimonial-item .quote-icon-right { display: none; }
.testimonial-item .quote-icon-left {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: var(--sx-red);
  border-radius: 50%;
  position: static;
}
.testimonial-item p > span {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.02em;
  color: var(--sx-ink);
}
.testimonial-item h3 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding-top: 24px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--sx-ink);
  border-top: 1px solid var(--sx-line);
}
.testimonial-item h3::before {
  content: "";
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  background:
    radial-gradient(circle at 50% 38%, #fff 0 7px, transparent 8px),
    radial-gradient(ellipse 14px 9px at 50% 88%, #fff 0 100%, transparent 101%),
    linear-gradient(135deg, var(--sx-blue), var(--sx-sky));
  border-radius: 50%;
}
.testimonial-item h4 {
  margin: 4px 0 0 58px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--sx-soft);
}

.testimonials .swiper-pagination { bottom: 0; text-align: left; }
.testimonials .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 5px 0 0 !important;
  background: var(--sx-blue);
  opacity: .25;
  border-radius: 999px;
  transition: width .4s var(--sx-ease), opacity .3s ease;
}
.testimonials .swiper-pagination-bullet-active { width: 34px; opacity: 1; background: var(--sx-red); }

/* ---------- responsive --------------------------------------------------- */

@media (max-width: 991.98px) {
  .positioning-panel { min-height: 340px; padding: 28px; border-radius: 28px; }
  .service-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .service-tile,
  .service-tile:nth-child(4n + 1),
  .service-tile:nth-child(4n) { grid-column: auto; min-height: 330px; }
  .call-to-action .cta-btn-container { justify-content: center; margin-top: 28px; }
  .call-to-action h3, .call-to-action p { margin-inline: auto; text-align: center; }
  .achievements__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; grid-auto-rows: minmax(170px, auto); }
  .achievements__panel { grid-column: 1 / -1; grid-row: 1; min-height: 300px; order: 0; padding: 28px; border-radius: 28px; }
}

@media (max-width: 575.98px) {
  .service-tiles { grid-template-columns: minmax(0, 1fr); }
  .service-tile,
  .service-tile:nth-child(4n + 1),
  .service-tile:nth-child(4n) { min-height: 300px; padding: 26px 24px; }
  .service-tile .service-tile__num { left: 24px; }
  .service-tile .service-tile__icon { right: 20px; }
  .call-to-action.section { width: calc(100% - 24px); border-radius: 28px; }
  .call-to-action .cta-btn-container { margin-top: 24px; }
  .stat { padding: 20px; }
  .stat__label { font-size: .75rem; }
  .portfolio.section.light-background { width: calc(100% - 24px); border-radius: 28px; }
  .testimonials .swiper-slide { width: 92%; }
}

/* touch devices have no hover: show the photo quietly so the cards aren't empty */
@media (hover: none) {
  .service-tile .service-tile__bg { opacity: .16; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .service-tile, .service-tile *, .stat, .pos-chips li, .btn-more, .cta-btn, .cta-btn::after,
  .expertise-panel, .expertise-panel__media img, .positioning-panel__bg, .achievements__bg,
  .testimonials .swiper-slide { transition: none !important; animation: none !important; }
}

/* card sections: keep content off the rounded edge */
.call-to-action .container { padding-inline: clamp(28px, 5vw, 72px); max-width: none; }

/* ==========================================================================
   Revisions: original marquees, full-width compact CTA, no tags / red dots
   ========================================================================== */

/* chapter tags and dots removed */
.positioning > .container::before,
.achievements > .container::before,
.expertise > .container::before,
.testimonials .section-title::before,
.portfolio .section-title::before,
.services .section-title::before,
.positioning-panel::after,
.expertise-panel .expertise-panel__media::after,
.expertise-panel .expertise-panel__media--white::after,
.expertise-panel__media--blue::after,
.stat::after,
.expertise__tab.is-active::before { content: none; display: none; }
.partners-lead {
  display: block;
  margin: 0 0 var(--section-title-gap);
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: .9375rem;
  letter-spacing: .18em;
  color: #e51a22;
}

/* partners + products marquees: exactly as before */
:is(.portfolio, .partners) .logo-marquees {
  --tile-w: 240px;
  --tile-h: 120px;
  -webkit-mask-image: none;
  mask-image: none;
}
:is(.portfolio, .partners) .logo-item::before { content: none; display: none; }
:is(.portfolio, .partners) .logo-item img { opacity: .5; }
:is(.portfolio, .partners) .logo-item:hover img,
:is(.portfolio, .partners) .logo-item:focus-visible img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }
@media (max-width: 576px) {
  :is(.portfolio, .partners) .logo-marquees { --tile-w: 170px; --tile-h: 96px; }
}
.partners.section { background: #fff; padding: 100px 0; }

/* products: back to the light band */
.portfolio.section.light-background {
  width: auto;
  margin: 0;
  background: var(--sx-pale);
  border-radius: 0;
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.portfolio .section-title h2 { color: var(--sx-ink); }
.portfolio .section-title p { color: var(--sx-soft); }
.portfolio .btn-more { color: #fff; background: var(--sx-ink); }
.portfolio .btn-more:hover { color: #fff; background: var(--sx-blue); }

/* call to action: full width, shorter */
.call-to-action.section {
  width: 100%;
  margin: 0;
  padding: clamp(40px, 5vw, 64px) 0;
  border-radius: 0;
}
.call-to-action .container { max-width: 1320px; padding-inline: 12px; }
.call-to-action h3 { max-width: none; margin: 0 0 10px; font-size: clamp(1.75rem, 3.2vw, 2.75rem); }
.call-to-action p { font-size: 1rem; }
.call-to-action .cta-btn { padding: 8px 8px 8px 26px; font-size: .9375rem; }
.call-to-action .cta-btn::after { width: 40px; height: 40px; }
@media (max-width: 575.98px) { .call-to-action.section { width: 100%; border-radius: 0; } }
/* ==========================================================================
   Fixes: hidden header, one-bar scrolled header, CTA alignment,
   Client Voices layout, misted Our Expertise images
   ========================================================================== */

/* a header that has slid away can't be hovered or open its menus */
body .header.site-header.is-hidden,
body .header.site-header.is-hidden * { pointer-events: none !important; }
body .header.site-header.is-hidden .nav-panel { opacity: 0 !important; visibility: hidden !important; }

/* once scrolled, logo + links + search sit in one bar */
@media (min-width: 1200px) {
  body .header.site-header.is-scrolled .site-header__bar::before { grid-column: 1 / 4; }
  body .header.site-header.is-scrolled .logo {
    position: relative;
    z-index: 1;
    margin-left: 0;
    padding: 0 0 0 26px;
    background: none;
    box-shadow: none;
    border-radius: 0;
  }
}

/* call to action: text lines up with the other sections' content */
.call-to-action .container { padding-inline: 12px; }
@media (min-width: 576px)  { .call-to-action .container { max-width: 540px; } }
@media (min-width: 768px)  { .call-to-action .container { max-width: 720px; } }
@media (min-width: 992px)  { .call-to-action .container { max-width: 960px; } }
@media (min-width: 1200px) { .call-to-action .container { max-width: 1140px; } }
@media (min-width: 1400px) { .call-to-action .container { max-width: 1320px; } }

/* client voices: equal cards inside the container, nothing cut off */
.testimonials .swiper { overflow: hidden; margin: -16px; padding: 16px 16px 72px; }
.testimonials .swiper-slide,
.testimonials .swiper-slide-active { height: auto; opacity: 1; transform: none; }
.testimonial-item { padding: clamp(28px, 3.4vw, 44px); }
.testimonial-item .quote-icon-left { width: 52px; height: 52px; margin-bottom: 22px; font-size: 1.75rem; }
.testimonial-item p > span { font-size: clamp(1.125rem, 1.7vw, 1.375rem); line-height: 1.5; }
.testimonials .swiper-pagination { bottom: 16px; left: 16px; width: auto; }
.testimonials .swiper-pagination-lock { display: none; }

/* our expertise photos: a light brand-blue mist, like the hero */
.expertise-panel .expertise-panel__media::before,
.expertise-panel .expertise-panel__media--white::before {
  background: linear-gradient(180deg, rgba(0, 116, 179, 0.2) 0%, rgba(0, 116, 179, 0.28) 55%, rgba(0, 74, 122, 0.55) 100%);
}

/* "Rooted in Uganda…" lead in the brand blue */
.positioning-body .lead-text { color: var(--ns-blue); }
/* ==========================================================================
   NepServ — Our People page   (load after main.css and nav.css)
   Scoped to body[data-page="our-people"].
   Navy "editorial" banner that melts into a rounded white sheet, founders as
   photo cards with a floating glass name-plate, values as a bento grid.
   ========================================================================== */

body[data-page="our-people"] {
  --pp-ink: #0b2540;
  --pp-soft: #55637a;
  --pp-pale: #f3f8fd;
  --pp-pale-2: #e7f1fb;
  --pp-line: #dbe7f3;
  --pp-blue: #0082cf;
  --pp-sky: #3db4f2;
  --pp-red: #ec1c24;
  --pp-navy: #071c33;
  --pp-ease: cubic-bezier(.22, 1, .36, 1);
  --pp-shadow: 0 1px 2px rgba(7, 28, 51, .05), 0 14px 40px -18px rgba(7, 28, 51, .22);
  --pp-shadow-lg: 0 2px 4px rgba(7, 28, 51, .06), 0 30px 60px -24px rgba(7, 28, 51, .38);
}

/* ---------- banner -------------------------------------------------------- */

[data-page="our-people"] .page-banner {
  padding: 168px 0 132px;
  text-align: left;
  background:
    radial-gradient(55% 90% at 88% 10%, rgba(0, 130, 207, .55), transparent 62%),
    radial-gradient(40% 70% at 0% 100%, rgba(61, 180, 242, .2), transparent 60%),
    var(--pp-navy);
}
[data-page="our-people"] .page-banner::before,
[data-page="our-people"] .page-banner::after {
  top: 0;
  bottom: 0;
  width: 60%;
  background-size: 22px 22px;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.7px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
}
[data-page="our-people"] .page-banner::before { display: none; }
[data-page="our-people"] .page-banner::after { right: 0; left: auto; }

[data-page="our-people"] .page-banner__title {
  max-width: 12ch;
  margin: 0 0 22px;
  font-size: clamp(3.25rem, 8.5vw, 7rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
  color: #fff;
}
[data-page="our-people"] .pb-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px #8fd4ff;
}
[data-page="our-people"] .page-banner__lead {
  max-width: 46ch;
  margin: 0 0 36px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, .78);
}
[data-page="our-people"] .page-banner__crumbs {
  display: inline-flex;
  gap: 10px;
  padding: 9px 18px;
  font-size: .8125rem;
  letter-spacing: .08em;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
}
[data-page="our-people"] .page-banner__crumbs [aria-current] { text-decoration: none; color: #8fd4ff; }

/* ---------- founders ------------------------------------------------------ */

[data-page="our-people"] .team.section {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  padding: 88px 0 96px;
  background: #fff;
  border-radius: 48px 48px 0 0;
  overflow: visible;
}

.people-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.people-head__title,
[data-page="our-people"] .values-title {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  text-align: left;
  color: var(--pp-ink);
}
.people-head__text,
.values-intro {
  max-width: 52ch;
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--pp-soft);
}

[data-page="our-people"] .team-member {
  position: relative;
  align-self: flex-start;
  width: 100%;
  transition: transform .6s var(--pp-ease);
}
[data-page="our-people"] .team-member__photo {
  border-radius: 32px;
  background: var(--pp-pale-2);
  box-shadow: var(--pp-shadow-lg);
  isolation: isolate;
}
[data-page="our-people"] .team-member__photo img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
  transition: transform 1.2s var(--pp-ease);
}
[data-page="our-people"] .team-member__photo::after {
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7, 28, 51, .55));
  opacity: .9;
}
[data-page="our-people"] .team-member:hover .team-member__photo img { transform: scale(1.06); }
[data-page="our-people"] .team-member:hover { transform: translateY(-8px); }

/* floating glass name plate */
[data-page="our-people"] .member-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 18px 20px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 22px;
  box-shadow: 0 10px 30px -12px rgba(7, 28, 51, .35);
  transition: transform .6s var(--pp-ease);
}
[data-page="our-people"] .team-member:hover .member-info { transform: translateY(-4px); }
[data-page="our-people"] .member-info h4 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--pp-ink);
}
[data-page="our-people"] .member-info span {
  display: inline-block;
  padding: 5px 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--pp-blue);
  background: var(--pp-pale-2);
  border-radius: 999px;
}

/* stagger alternate cards on desktop */
@media (min-width: 992px) {
  [data-page="our-people"] .team-row > div:nth-child(even) { margin-top: 56px; }
  [data-page="our-people"] .team.section { padding-bottom: 150px; }
}

/* ---------- values : bento ------------------------------------------------ */

[data-page="our-people"] .values.section { background: var(--pp-pale); padding: clamp(64px, 8vw, 112px) 0; }
.values-head { margin-bottom: clamp(32px, 4vw, 56px); }

[data-page="our-people"] .values-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 20px;
}
[data-page="our-people"] .values-card { grid-column: span 5; }
[data-page="our-people"] .values-card:nth-child(4n + 1),
[data-page="our-people"] .values-card:nth-child(4n) { grid-column: span 7; }

[data-page="our-people"] .values-card,
[data-page="our-people"] .values-card--white {
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 340px;
  padding: 32px;
  color: var(--pp-ink);
  background: #fff;
  border: 1px solid var(--pp-line);
  border-radius: 28px;
  box-shadow: var(--pp-shadow);
  overflow: hidden;
  transition: transform .5s var(--pp-ease), box-shadow .5s var(--pp-ease), color .3s ease, border-color .3s ease;
}
[data-page="our-people"] .values-card:nth-child(1) { background: var(--pp-blue); border-color: var(--pp-blue); color: #fff; }
[data-page="our-people"] .values-card:nth-child(3) { background: var(--pp-pale-2); border-color: var(--pp-pale-2); }
[data-page="our-people"] .values-card:nth-child(4) { background: var(--pp-navy); border-color: var(--pp-navy); color: #fff; }
[data-page="our-people"] .values-card:hover { transform: translateY(-6px); box-shadow: var(--pp-shadow-lg); color: #fff; border-color: var(--pp-navy); }

[data-page="our-people"] .values-card .values-card__bg,
[data-page="our-people"] .values-card--white .values-card__bg {
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  border-radius: 0;
  filter: none;
  mix-blend-mode: normal;
  opacity: 0;
  transform: scale(1.12);
  transition: opacity .55s ease, transform 1s var(--pp-ease);
}
[data-page="our-people"] .values-card::before,
[data-page="our-people"] .values-card--white::before {
  inset: 0;
  z-index: -1;
  width: auto;
  height: auto;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(7, 28, 51, .25), rgba(7, 28, 51, .9));
  opacity: 0;
  transition: opacity .45s ease;
}
[data-page="our-people"] .values-card:hover .values-card__bg { opacity: 1; transform: scale(1); }
[data-page="our-people"] .values-card:hover::before { opacity: 1; }

[data-page="our-people"] .values-card .values-card__icon,
[data-page="our-people"] .values-card--white .values-card__icon {
  position: absolute;
  top: 24px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0;
  font-size: 26px;
  color: var(--pp-blue);
  background: var(--pp-pale-2);
  border-radius: 50%;
  transition: transform .5s var(--pp-ease), background .3s ease, color .3s ease;
}
[data-page="our-people"] .values-card:nth-child(1) .values-card__icon,
[data-page="our-people"] .values-card:nth-child(4) .values-card__icon { color: #fff; background: rgba(255, 255, 255, .16); }
[data-page="our-people"] .values-card:nth-child(3) .values-card__icon { background: #fff; }
[data-page="our-people"] .values-card:hover .values-card__icon { color: #fff; background: var(--pp-red); transform: rotate(-12deg) scale(1.08); }

[data-page="our-people"] .values-card .values-card__title,
[data-page="our-people"] .values-card--white .values-card__title {
  max-width: 18ch;
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.03em;
  color: inherit;
}
[data-page="our-people"] .values-card .values-card__text,
[data-page="our-people"] .values-card--white .values-card__text {
  max-width: 40ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--pp-soft);
  transition: color .3s ease;
}
[data-page="our-people"] .values-card:nth-child(1) .values-card__text,
[data-page="our-people"] .values-card:nth-child(4) .values-card__text { color: rgba(255, 255, 255, .82); }
[data-page="our-people"] .values-card:hover .values-card__text { color: rgba(255, 255, 255, .88); }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 991.98px) {
  [data-page="our-people"] .page-banner { padding: 132px 0 108px; }
  [data-page="our-people"] .team.section { border-radius: 36px 36px 0 0; padding-top: 64px; }
  [data-page="our-people"] .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  [data-page="our-people"] .values-card,
  [data-page="our-people"] .values-card:nth-child(4n + 1),
  [data-page="our-people"] .values-card:nth-child(4n) { grid-column: auto; min-height: 300px; }
}
@media (max-width: 575.98px) {
  [data-page="our-people"] .page-banner { padding: 112px 0 96px; }
  [data-page="our-people"] .team.section { margin-top: -48px; border-radius: 28px 28px 0 0; }
  [data-page="our-people"] .values-grid { grid-template-columns: minmax(0, 1fr); }
  [data-page="our-people"] .values-card { padding: 26px 24px; min-height: 280px; }
  [data-page="our-people"] .values-card .values-card__icon { right: 20px; }
}
@media (hover: none) {
  [data-page="our-people"] .values-card .values-card__bg { opacity: .16; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-page="our-people"] .team-member,
  [data-page="our-people"] .team-member *,
  [data-page="our-people"] .values-card,
  [data-page="our-people"] .values-card * { transition: none !important; }
}

/* ==========================================================================
   Our People: compact leadership banner + values with photos under colour
   ========================================================================== */

[data-page="our-people"] .page-banner.people-banner { padding: 132px 0 116px; }
.people-banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.people-banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8fd4ff;
}
.people-banner__eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ec1c24 0 40%, #3db4f2 40% 100%);
}
[data-page="our-people"] .people-banner .page-banner__title {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -.04em;
}
[data-page="our-people"] .people-banner .pb-accent {
  color: #8fd4ff;
  -webkit-text-stroke: 0;
}
[data-page="our-people"] .people-banner .page-banner__lead { max-width: 44ch; margin: 0; }

/* overlapping founder portraits */
.people-banner__faces {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.people-banner__faces img {
  width: clamp(104px, 11vw, 150px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, .92);
  border-radius: 26px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .6);
  transition: transform .5s var(--pp-ease);
}
.people-banner__faces img + img { margin-left: -28px; }
.people-banner__faces img:nth-child(1) { transform: rotate(-6deg) translateY(10px); z-index: 1; }
.people-banner__faces img:nth-child(2) { transform: translateY(-14px); z-index: 3; }
.people-banner__faces img:nth-child(3) { transform: rotate(6deg) translateY(10px); z-index: 2; }
.people-banner__faces:hover img:nth-child(1) { transform: rotate(-9deg) translate(-8px, 6px); }
.people-banner__faces:hover img:nth-child(3) { transform: rotate(9deg) translate(8px, 6px); }
.people-banner__caption {
  flex-basis: 100%;
  margin-top: 26px;
  font-size: .875rem;
  font-weight: 500;
  text-align: right;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 991.98px) {
  [data-page="our-people"] .page-banner.people-banner { padding: 116px 0 104px; }
  .people-banner__inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .people-banner__faces { justify-content: flex-start; padding-left: 8px; }
  .people-banner__caption { text-align: left; }
}
@media (max-width: 575.98px) {
  [data-page="our-people"] .page-banner.people-banner { padding: 104px 0 92px; }
  .people-banner__faces img { width: 92px; border-width: 3px; border-radius: 20px; }
  .people-banner__faces img + img { margin-left: -20px; }
}

/* values: same bento, photo always visible beneath each card's colour */
[data-page="our-people"] .values-card .values-card__bg,
[data-page="our-people"] .values-card--white .values-card__bg { opacity: 1; transform: scale(1.02); }
[data-page="our-people"] .values-card::before,
[data-page="our-people"] .values-card--white::before {
  opacity: 1;
  background: none;
  background-color: rgba(255, 255, 255, .86);
  transition: background-color .45s ease;
}
[data-page="our-people"] .values-card:nth-child(1)::before { background-color: rgba(0, 130, 207, .84); }
[data-page="our-people"] .values-card:nth-child(3)::before { background-color: rgba(232, 241, 251, .86); }
[data-page="our-people"] .values-card:nth-child(4)::before { background-color: rgba(7, 28, 51, .82); }
[data-page="our-people"] .values-card:hover::before { background-color: rgba(7, 28, 51, .72); }
[data-page="our-people"] .values-card:hover .values-card__bg { transform: scale(1.08); }
@media (hover: none) {
  [data-page="our-people"] .values-card .values-card__bg { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .people-banner__faces img { transition: none; }
}

/* founders: names sit directly on the photo (no glass plate) */
[data-page="our-people"] .team-member__photo::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 50%, rgba(7, 28, 51, .35) 68%, rgba(7, 28, 51, .88) 100%);
}
[data-page="our-people"] .member-info {
  left: 28px;
  right: 28px;
  bottom: 26px;
  padding: 0;
  background: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
[data-page="our-people"] .member-info h4 {
  margin: 0 0 6px;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
[data-page="our-people"] .member-info span {
  padding: 0;
  font-size: .9375rem;
  font-weight: 500;
  color: #8fd4ff;
  background: none;
  border-radius: 0;
}
/* banner portraits sit a little lower now the caption is gone */
.people-banner__faces { padding-top: 12px; }

/* hero: second button next to the red Visit button */
.hero .hero-actions--pair { align-items: center; gap: 14px; margin-top: 28px; }
.hero .hero-actions--pair .btn-hero-cta { margin-top: 0; }
.hero .hero-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.hero .hero-explore:hover,
.hero .hero-explore:focus-visible { color: var(--ns-navy); background: #fff; border-color: #fff; }
/* ==========================================================================
   NepServ — Our Products   "the showroom"
   Load after main.css and nav.css.  Scoped to body[data-page="products"].

   1. Hero: a field of floating product logos that leans toward the pointer
   2. Index: a giant typographic list; hover floods the row with the
      product's colour and a photo trails the cursor
   3. Chapters: one full-colour screen per product, an arch-framed photo with
      parallax, an outlined name behind, layered sheets
   4. Side dots, closing marquee
   ========================================================================== */

body[data-page="products"] {
  --pv-ink: #071c33;
  --pv-soft: #55637a;
  --pv-blue: #0082cf;
  --pv-red: #ec1c24;
  --pv-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
}

/* ---------- 1. hero ------------------------------------------------------- */

.pv-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 16vh, 180px) 0 clamp(64px, 9vh, 110px);
  background:
    radial-gradient(45% 60% at 82% 30%, rgba(0, 130, 207, .12), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(236, 28, 36, .08), transparent 70%),
    #fff;
  --mx: 0;
  --my: 0;
}
.pv-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.pv-hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--pv-soft);
}
.pv-hero__kicker::before { content: ""; width: 44px; height: 2px; background: var(--pv-red); }
.pv-hero__title {
  margin: 0 0 28px;
  font-size: clamp(3rem, 6.8vw, 6.75rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.06em;
  color: var(--pv-ink);
}
.pv-hero__title span {
  background: linear-gradient(100deg, var(--pv-blue), #3db4f2 60%, var(--pv-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv-hero__title i { font-style: normal; color: var(--pv-red); }
.pv-hero__lead { max-width: 40ch; margin: 0 0 36px; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--pv-soft); }
.pv-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), background .25s ease;
}
.pv-hero__btn svg { box-sizing: content-box; padding: 12px; background: var(--pv-red); border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-hero__btn:hover { color: #fff; background: var(--pv-blue); transform: translateY(-3px); }
.pv-hero__btn:hover svg { transform: translateY(3px); }

/* the logo field */
.pv-cloud { position: relative; height: clamp(420px, 62vh, 620px); }
.pv-orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: calc(150px * var(--s));
  height: calc(76px * var(--s));
  padding: 0 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 22px 44px -18px rgba(7, 28, 51, .35);
  transform:
    translate3d(calc(var(--mx) * var(--s) * -46px), calc(var(--my) * var(--s) * -36px), 0)
    rotate(var(--r));
  animation: pv-float 7s ease-in-out var(--d) infinite;
  transition: box-shadow .3s ease;
}
.pv-orb img { max-width: 100%; max-height: 62%; object-fit: contain; }
.pv-orb:hover { box-shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 30px 60px -18px rgba(0, 130, 207, .55); }
@keyframes pv-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -16px; }
}

/* ---------- 2. index ------------------------------------------------------ */

.pv-index { position: relative; padding: 0 0 clamp(72px, 10vw, 140px); background: #fff; }
.pv-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #dbe7f3; }
.pv-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto 3.4rem;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 2vw, 26px) 0;
  color: var(--pv-ink);
  border-top: 1px solid #dbe7f3;
  isolation: isolate;
  transition: color .35s ease, padding .5s var(--pv-ease), opacity .35s ease;
}
/* colour flood from the left */
.pv-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--pv-ease);
}
.pv-row__n { font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--pv-soft); transition: color .3s ease; }
.pv-row__name {
  font-size: clamp(2.5rem, 8.2vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  transition: transform .6s var(--pv-ease);
}
.pv-row__sector { font-size: 1rem; font-weight: 500; color: var(--pv-soft); transition: color .3s ease; }
.pv-row__arr { justify-self: end; transition: transform .6s var(--pv-ease); }

.pv-row:hover, .pv-row:focus-visible { color: var(--ink, #fff); }
.pv-row:hover::before, .pv-row:focus-visible::before { transform: scaleX(1); }
.pv-row:hover .pv-row__name, .pv-row:focus-visible .pv-row__name { transform: translateX(clamp(10px, 2vw, 32px)); }
.pv-row:hover .pv-row__n, .pv-row:hover .pv-row__sector,
.pv-row:focus-visible .pv-row__n, .pv-row:focus-visible .pv-row__sector { color: inherit; opacity: .8; }
.pv-row:hover .pv-row__arr, .pv-row:focus-visible .pv-row__arr { transform: rotate(45deg) scale(1.2); }
.pv-row:focus-visible { outline: none; }
@supports selector(:has(a)) {
  .pv-list:has(.pv-row:hover) .pv-row:not(:hover) { opacity: .28; }
}

/* the photo that trails the cursor */
.pv-peek {
  --c: #0082cf;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  pointer-events: none;
  background: var(--c);
  border-radius: 28px;
  box-shadow: 0 40px 80px -24px rgba(7, 28, 51, .55);
  opacity: 0;
  clip-path: inset(50% 50% 50% 50% round 28px);
  transition: opacity .25s ease, clip-path .5s var(--pv-ease);
  will-change: transform;
}
.pv-peek.is-on { opacity: 1; clip-path: inset(0 0 0 0 round 28px); }
.pv-peek img { width: 100%; height: 100%; object-fit: cover; }
.pv-peek.is-cut img { object-fit: contain; padding: 14%; }
@media (hover: none), (max-width: 991.98px) { .pv-peek { display: none; } }

/* ---------- 3. chapters --------------------------------------------------- */

.pv-chapters { position: relative; }
.pv-ch {
  --p: 0;
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: clamp(96px, 14vh, 150px) 0 clamp(96px, 14vh, 150px);
  color: var(--ink, #fff);
  background: linear-gradient(160deg, var(--c), var(--c2));
  border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0;
  margin-top: calc(-1 * clamp(32px, 5vw, 64px));
  overflow: hidden;
  isolation: isolate;
}
.pv-ch:first-child { margin-top: 0; }
.pv-ch::after {                                   /* grain-ish dot field */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1.6px) 0 0 / 26px 26px;
  -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%);
  mask-image: linear-gradient(200deg, #000, transparent 55%);
}
/* the outlined name, drifting with scroll */
.pv-ch::before {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: -.14em;
  z-index: -1;
  white-space: nowrap;
  font-size: clamp(7rem, 24vw, 24rem);
  font-weight: 600;
  line-height: .8;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 2px color-mix(in srgb, var(--ink, #fff) 24%, transparent);
  transform: translateX(calc(-50% + var(--p) * -9vw));
  pointer-events: none;
}

.pv-ch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.pv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 28px; }
.pv-meta__n { font-size: 1rem; font-weight: 600; letter-spacing: .06em; }
.pv-meta__n i { font-style: normal; opacity: .55; }
.pv-meta__logo {
  display: inline-grid;
  place-items: center;
  height: 46px;
  padding: 0 20px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}
.pv-meta__logo img { height: 24px; width: auto; max-width: 120px; object-fit: contain; }
.pv-meta__sector { font-size: .9375rem; font-weight: 500; opacity: .8; }

.pv-title {
  max-width: 14ch;
  margin: 0 0 22px;
  font-size: clamp(2.5rem, 5.6vw, 5.25rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.05em;
  color: inherit;
}
.pv-text { max-width: 54ch; margin: 0 0 26px; font-size: clamp(1rem, 1.25vw, 1.1875rem); line-height: 1.65; opacity: .88; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.pv-chips li {
  padding: 9px 16px;
  font-size: .875rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--ink, #fff) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink, #fff) 30%, transparent);
  border-radius: 999px;
}
.pv-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c2);
  background: var(--ink, #fff);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), box-shadow .35s ease;
}
.pv-ch[style*="--ink:#071c33"] .pv-cta { color: #fff; background: #071c33; }
.pv-cta svg { box-sizing: content-box; padding: 12px; color: #fff; background: var(--pv-red); border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-cta:hover { color: var(--c2); transform: translateY(-3px); box-shadow: 0 22px 40px -16px rgba(0, 0, 0, .5); }
.pv-ch[style*="--ink:#071c33"] .pv-cta:hover { color: #fff; }
.pv-cta:hover svg { transform: rotate(45deg); }

/* visuals */
.pv-visual { position: relative; display: grid; place-items: center; }
.pv-arch {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5.2;
  overflow: hidden;
  background: color-mix(in srgb, var(--c2) 70%, #000);
  border-radius: 999px 999px 36px 36px;
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .7);
}
.pv-arch img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  transform: translateY(calc(var(--p) * -7%)) scale(1.04);
}
.pv-visual::before {                              /* offset outline arch */
  content: "";
  position: absolute;
  width: min(100%, 460px);
  aspect-ratio: 4 / 5.2;
  border: 2px solid color-mix(in srgb, var(--ink, #fff) 38%, transparent);
  border-radius: 999px 999px 36px 36px;
  transform: translate(22px, 22px);
}
.pv-disc {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 480px);
  aspect-ratio: 1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--ink, #fff) 24%, transparent), color-mix(in srgb, var(--ink, #fff) 5%, transparent) 72%, transparent 73%);
  border-radius: 50%;
}
.pv-disc::before {
  content: "";
  position: absolute;
  inset: 2%;
  border: 1.5px dashed color-mix(in srgb, var(--ink, #fff) 38%, transparent);
  border-radius: 50%;
  animation: pv-spin 50s linear infinite;
}
.pv-disc img {
  position: relative;
  width: 84%;
  height: 84%;
  object-fit: contain;
  filter: drop-shadow(0 30px 34px rgba(0, 0, 0, .4));
  transform: translateY(calc(var(--p) * -6%));
}
.pv-visual:has(.pv-disc)::before { display: none; }
@keyframes pv-spin { to { transform: rotate(360deg); } }

/* entrance */
.pv-copy > *, .pv-visual { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform 1s var(--pv-ease); }
.pv-ch.is-in .pv-copy > *, .pv-ch.is-in .pv-visual { opacity: 1; transform: none; }
.pv-ch.is-in .pv-copy > *:nth-child(2) { transition-delay: .08s; }
.pv-ch.is-in .pv-copy > *:nth-child(3) { transition-delay: .16s; }
.pv-ch.is-in .pv-copy > *:nth-child(4) { transition-delay: .24s; }
.pv-ch.is-in .pv-copy > *:nth-child(5) { transition-delay: .32s; }
.pv-ch.is-in .pv-visual { transition-delay: .15s; }

/* ---------- side dots ----------------------------------------------------- */

.pv-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 50;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 6px;
  list-style: none;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 14px 40px -16px rgba(7, 28, 51, .4);
  opacity: 0;
  pointer-events: none;
  transform: translate(20px, -50%);
  transition: opacity .35s ease, transform .5s var(--pv-ease);
}
.pv-dots.is-shown { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.pv-dots a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.pv-dots a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #b9c6d6;
  border-radius: 50%;
  transition: transform .3s var(--pv-ease), background .3s ease;
}
.pv-dots a.is-active::before { background: var(--c, var(--pv-red)); transform: scale(1.7); }
.pv-dots a span {
  position: absolute;
  right: 34px;
  padding: 6px 12px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--pv-ease);
}
.pv-dots a:hover span, .pv-dots a:focus-visible span { opacity: 1; transform: none; }

/* ---------- closing ------------------------------------------------------- */

.pv-end {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px);
  background: #fff;
  border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0;
  margin-top: calc(-1 * clamp(32px, 5vw, 64px));
  overflow: hidden;
}
.pv-end__marquee { overflow: hidden; margin-bottom: clamp(32px, 5vw, 64px); }
.pv-end__track { display: flex; width: max-content; animation: pv-marquee 30s linear infinite; }
.pv-end__track span {
  padding-right: .3em;
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px #0082cf;
}
@keyframes pv-marquee { to { transform: translateX(-50%); } }
.pv-end__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.pv-end__title { max-width: 18ch; margin: 0; font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; color: var(--pv-ink); }
.pv-end__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 30px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-red);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), background .25s ease;
}
.pv-end__btn svg { box-sizing: content-box; padding: 13px; color: var(--pv-red); background: #fff; border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-end__btn:hover { color: #fff; background: var(--pv-ink); transform: translateY(-3px); }
.pv-end__btn:hover svg { transform: rotate(45deg); color: var(--pv-ink); }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 991.98px) {
  .pv-hero { padding-top: 116px; }
  .pv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pv-cloud { display: flex; flex-wrap: wrap; gap: 12px; height: auto; }
  .pv-orb { position: static; width: auto; height: 64px; padding: 0 22px; transform: none; animation: none; }
  .pv-orb img { height: 28px; max-height: none; }
  .pv-row { grid-template-columns: 2.6rem minmax(0, 1fr) 2rem; }
  .pv-row__sector { display: none; }
  .pv-row__arr { width: 26px; height: 26px; }
  .pv-ch { min-height: 0; }
  .pv-ch__grid { grid-template-columns: minmax(0, 1fr); }
  .pv-visual { order: -1; }
  .pv-arch, .pv-visual::before { width: min(78%, 360px); }
  .pv-disc { width: min(78%, 360px); }
  .pv-dots { display: none; }
}
@media (max-width: 575.98px) {
  .pv-row__name { font-size: clamp(2.1rem, 11vw, 3rem); }
  .pv-title { font-size: clamp(2.2rem, 10vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pv-orb, .pv-disc::before, .pv-end__track { animation: none !important; }
  .pv-copy > *, .pv-visual { opacity: 1; transform: none; transition: none; }
  .pv-row, .pv-row::before, .pv-row__name, .pv-peek { transition: none; }
}
.pv-index { overflow-x: clip; }
/* ==========================================================================
   Products: brand-blue banner, smoother logo field, logos sized to their pills
   ========================================================================== */

.pv-hero.pv-hero--banner {
  padding: clamp(124px, 15vh, 160px) 0 clamp(56px, 8vh, 88px);
  color: #fff;
  background:
    radial-gradient(50% 70% at 85% 20%, rgba(61, 180, 242, .45), transparent 65%),
    radial-gradient(35% 50% at 0% 100%, rgba(7, 28, 51, .45), transparent 70%),
    linear-gradient(135deg, #0074b3 0%, #0092e0 60%, #0a85cc 100%);
  border-radius: 0 0 48px 48px;
}
/* dot texture, fading in toward the logo field */
.pv-hero.pv-hero--banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
  mask-image: linear-gradient(90deg, transparent 20%, #000 90%);
}
.pv-hero--banner .pv-hero__grid { position: relative; z-index: 1; }
.pv-hero--banner .pv-hero__kicker { color: rgba(255, 255, 255, .85); }
.pv-hero--banner .pv-hero__kicker::before { background: #ec1c24; }
.pv-hero--banner .pv-hero__title { color: #fff; font-size: clamp(2.75rem, 6vw, 5.75rem); }
.pv-hero--banner .pv-hero__title span { background: linear-gradient(100deg, #d6f0ff, #8fd4ff 60%, #d6f0ff); -webkit-background-clip: text; background-clip: text; }
.pv-hero--banner .pv-hero__lead { color: rgba(255, 255, 255, .86); }
.pv-hero--banner .pv-hero__btn { color: var(--ns-navy); background: #fff; }
.pv-hero--banner .pv-hero__btn svg { color: #fff; }
.pv-hero--banner .pv-hero__btn:hover { color: #fff; background: var(--ns-navy); }
.pv-hero--banner .pv-hero__btn:hover svg { transform: translateX(3px); }
.pv-hero--banner .pv-cloud { height: clamp(380px, 56vh, 540px); }

/* smoother logo field: float on the compositor, ease the pointer lean */
.pv-orb {
  animation: pv-drift 9s cubic-bezier(.45, 0, .55, 1) var(--d) infinite;
  transition: box-shadow .3s ease;
  will-change: transform, translate;
  backface-visibility: hidden;
}
.pv-hero--banner .pv-orb { box-shadow: 0 1px 2px rgba(7, 28, 51, .08), 0 24px 48px -20px rgba(4, 30, 60, .55); }
.pv-hero--banner .pv-orb:hover { box-shadow: 0 1px 2px rgba(7, 28, 51, .08), 0 30px 60px -18px rgba(4, 30, 60, .7); }
@keyframes pv-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}
/* logos sized in pixels so tall marks (Egret) stay inside the pill */
.pv-orb img {
  width: auto;
  height: auto;
  max-width: calc(150px * var(--s) - 44px);
  max-height: calc(76px * var(--s) - 30px);
}
@media (max-width: 991.98px) {
  .pv-hero.pv-hero--banner { border-radius: 0 0 32px 32px; }
  .pv-orb { animation: none; transition: none; }
  .pv-orb img { max-width: 120px; max-height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-orb { animation: none; transition: none; }
}

/* Products: navy banner (same look as Our People), white logo section after it */
[data-page="products"] .page-banner.products-banner {
  padding: 150px 0 128px;
  text-align: left;
  background:
    radial-gradient(55% 90% at 88% 10%, rgba(0, 130, 207, .55), transparent 62%),
    radial-gradient(40% 70% at 0% 100%, rgba(61, 180, 242, .2), transparent 60%),
    #071c33;
}
[data-page="products"] .products-banner::before { display: none; }
[data-page="products"] .products-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: -1;
  width: 60%;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
}
[data-page="products"] .products-banner .page-banner__title {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: #fff;
}
[data-page="products"] .products-banner .pb-accent { color: #8fd4ff; }
[data-page="products"] .products-banner .page-banner__lead {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, .78);
}

/* the logo section rises over the banner on a rounded white sheet */
[data-page="products"] .pv-hero {
  z-index: 1;
  margin-top: -64px;
  padding: clamp(72px, 9vh, 104px) 0 clamp(56px, 8vh, 96px);
  border-radius: 48px 48px 0 0;
}
[data-page="products"] .pv-hero .pv-cloud { height: clamp(380px, 56vh, 540px); }
[data-page="products"] .pv-hero .pv-hero__title { font-size: clamp(2.5rem, 5.6vw, 5.25rem); }

@media (max-width: 991.98px) {
  [data-page="products"] .page-banner.products-banner { padding: 124px 0 112px; }
  [data-page="products"] .pv-hero { border-radius: 36px 36px 0 0; }
}
@media (max-width: 575.98px) {
  [data-page="products"] .page-banner.products-banner { padding: 108px 0 96px; }
  [data-page="products"] .pv-hero { margin-top: -48px; border-radius: 28px 28px 0 0; }
}
/* ==========================================================================
   NepServ — Our Products   "the showroom"
   Load after main.css and nav.css.  Scoped to body[data-page="products"].

   1. Hero: a field of floating product logos that leans toward the pointer
   2. Index: a giant typographic list; hover floods the row with the
      product's colour and a photo trails the cursor
   3. Chapters: one full-colour screen per product, an arch-framed photo with
      parallax, an outlined name behind, layered sheets
   4. Side dots, closing marquee
   ========================================================================== */

body[data-page="products"] {
  --pv-ink: #071c33;
  --pv-soft: #55637a;
  --pv-blue: #0082cf;
  --pv-red: #ec1c24;
  --pv-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
}

/* ---------- 1. hero ------------------------------------------------------- */

.pv-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 16vh, 180px) 0 clamp(64px, 9vh, 110px);
  background:
    radial-gradient(45% 60% at 82% 30%, rgba(0, 130, 207, .12), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(236, 28, 36, .08), transparent 70%),
    #fff;
  --mx: 0;
  --my: 0;
}
.pv-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.pv-hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--pv-soft);
}
.pv-hero__kicker::before { content: ""; width: 44px; height: 2px; background: var(--pv-red); }
.pv-hero__title {
  margin: 0 0 28px;
  font-size: clamp(3rem, 6.8vw, 6.75rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.06em;
  color: var(--pv-ink);
}
.pv-hero__title span {
  background: linear-gradient(100deg, var(--pv-blue), #3db4f2 60%, var(--pv-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv-hero__title i { font-style: normal; color: var(--pv-red); }
.pv-hero__lead { max-width: 40ch; margin: 0 0 36px; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--pv-soft); }
.pv-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), background .25s ease;
}
.pv-hero__btn svg { box-sizing: content-box; padding: 12px; background: var(--pv-red); border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-hero__btn:hover { color: #fff; background: var(--pv-blue); transform: translateY(-3px); }
.pv-hero__btn:hover svg { transform: translateY(3px); }

/* the logo field */
.pv-cloud { position: relative; height: clamp(420px, 62vh, 620px); }
.pv-orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: calc(150px * var(--s));
  height: calc(76px * var(--s));
  padding: 0 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 22px 44px -18px rgba(7, 28, 51, .35);
  transform:
    translate3d(calc(var(--mx) * var(--s) * -46px), calc(var(--my) * var(--s) * -36px), 0)
    rotate(var(--r));
  animation: pv-float 7s ease-in-out var(--d) infinite;
  transition: box-shadow .3s ease;
}
.pv-orb img { max-width: 100%; max-height: 62%; object-fit: contain; }
.pv-orb:hover { box-shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 30px 60px -18px rgba(0, 130, 207, .55); }
@keyframes pv-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -16px; }
}

/* ---------- 2. index ------------------------------------------------------ */

.pv-index { position: relative; padding: 0 0 clamp(72px, 10vw, 140px); background: #fff; }
.pv-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #dbe7f3; }
.pv-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto 3.4rem;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 2vw, 26px) 0;
  color: var(--pv-ink);
  border-top: 1px solid #dbe7f3;
  isolation: isolate;
  transition: color .35s ease, padding .5s var(--pv-ease), opacity .35s ease;
}
/* colour flood from the left */
.pv-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--pv-ease);
}
.pv-row__n { font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--pv-soft); transition: color .3s ease; }
.pv-row__name {
  font-size: clamp(2.5rem, 8.2vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  transition: transform .6s var(--pv-ease);
}
.pv-row__sector { font-size: 1rem; font-weight: 500; color: var(--pv-soft); transition: color .3s ease; }
.pv-row__arr { justify-self: end; transition: transform .6s var(--pv-ease); }

.pv-row:hover, .pv-row:focus-visible { color: var(--ink, #fff); }
.pv-row:hover::before, .pv-row:focus-visible::before { transform: scaleX(1); }
.pv-row:hover .pv-row__name, .pv-row:focus-visible .pv-row__name { transform: translateX(clamp(10px, 2vw, 32px)); }
.pv-row:hover .pv-row__n, .pv-row:hover .pv-row__sector,
.pv-row:focus-visible .pv-row__n, .pv-row:focus-visible .pv-row__sector { color: inherit; opacity: .8; }
.pv-row:hover .pv-row__arr, .pv-row:focus-visible .pv-row__arr { transform: rotate(45deg) scale(1.2); }
.pv-row:focus-visible { outline: none; }
@supports selector(:has(a)) {
  .pv-list:has(.pv-row:hover) .pv-row:not(:hover) { opacity: .28; }
}

/* the photo that trails the cursor */
.pv-peek {
  --c: #0082cf;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  pointer-events: none;
  background: var(--c);
  border-radius: 28px;
  box-shadow: 0 40px 80px -24px rgba(7, 28, 51, .55);
  opacity: 0;
  clip-path: inset(50% 50% 50% 50% round 28px);
  transition: opacity .25s ease, clip-path .5s var(--pv-ease);
  will-change: transform;
}
.pv-peek.is-on { opacity: 1; clip-path: inset(0 0 0 0 round 28px); }
.pv-peek img { width: 100%; height: 100%; object-fit: cover; }
.pv-peek.is-cut img { object-fit: contain; padding: 14%; }
@media (hover: none), (max-width: 991.98px) { .pv-peek { display: none; } }

/* ---------- 3. chapters --------------------------------------------------- */
/* One product per row on plain white. The photo lives inside an icon cut-out
   for the product's field; odd rows put it left, even rows right. */

.pv-chapters { position: relative; background: #fff; }
.pv-ch {
  --p: 0;
  position: relative;
  display: block;
  min-height: 0;
  margin: 0;
  padding: clamp(72px, 10vw, 150px) 0;
  color: var(--pv-ink);
  background: none;
  border-radius: 0;
  overflow: visible;
  isolation: auto;
}
.pv-ch:first-child { margin-top: 0; padding-top: clamp(40px, 6vw, 90px); }
.pv-ch::before, .pv-ch::after { content: none; display: none; }
/* a hairline between products, inset to the container */
.pv-ch + .pv-ch .pv-ch__grid::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(-1 * clamp(72px, 10vw, 150px));
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbe7f3 18%, #dbe7f3 82%, transparent);
}

.pv-ch__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);   /* odd: picture left */
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}
.pv-ch:nth-child(even) .pv-ch__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }  /* even: picture right */
.pv-ch .pv-visual { order: 0; }
.pv-ch:nth-child(odd) .pv-visual { order: -1; }

.pv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 26px; }
.pv-meta__n { font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--pv-ink); }
.pv-meta__n i { font-style: normal; color: #9aa8ba; }
.pv-meta__logo {
  display: inline-grid;
  place-items: center;
  height: 46px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  box-shadow: 0 10px 24px -16px rgba(7, 28, 51, .35);
}
.pv-meta__logo img { height: 24px; width: auto; max-width: 120px; object-fit: contain; }
.pv-meta__sector { font-size: .9375rem; font-weight: 600; color: var(--pv-soft); opacity: 1; }

.pv-title {
  max-width: 15ch;
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--pv-ink);
}
.pv-text { max-width: 54ch; margin: 0 0 26px; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7; color: var(--pv-soft); opacity: 1; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.pv-chips li {
  padding: 9px 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--pv-ink);
  background: #f3f8fd;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
}
.pv-cta,
.pv-ch[style*="--ink"] .pv-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), box-shadow .35s ease, background .25s ease;
}
.pv-cta svg { box-sizing: content-box; padding: 12px; color: #fff; background: var(--pv-red); border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-cta:hover,
.pv-ch[style*="--ink"] .pv-cta:hover { color: #fff; background: var(--pv-blue); transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(0, 90, 160, .6); }
.pv-cta:hover svg { transform: rotate(45deg); }

/* the icon cut-out */
.pv-visual { position: relative; display: grid; place-items: center; }
.pv-visual::before {                              /* soft glow in the product's own colour */
  content: "";
  position: absolute;
  inset: 4%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 13%, transparent), transparent 100%);
  border: 0;
  border-radius: 50%;
  transform: none;
  aspect-ratio: auto;
  width: auto;
}
.pv-icon {
  position: relative;
  display: block;
  width: min(100%, 500px);
  height: auto;
  overflow: visible;
}
.pv-icon__pic { filter: drop-shadow(0 30px 30px rgba(7, 28, 51, .2)); }
.pv-icon__ghost { transform: translate(16px, 16px); }
.pv-icon__ghost * { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 3 9; stroke-linecap: round; opacity: .8; }
.pv-icon__bg { fill: #e8f1fa; }
.pv-icon__img {
  transform-box: fill-box;
  transform-origin: center;
  transform: translateY(calc(var(--p) * -22px)) scale(1.04);
  transition: scale .9s var(--pv-ease);
}
.pv-visual:hover .pv-icon__img { scale: 1.06; }

/* entrance */
.pv-copy > *, .pv-visual { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform 1s var(--pv-ease); }
.pv-ch.is-in .pv-copy > *, .pv-ch.is-in .pv-visual { opacity: 1; transform: none; }
.pv-ch.is-in .pv-copy > *:nth-child(2) { transition-delay: .08s; }
.pv-ch.is-in .pv-copy > *:nth-child(3) { transition-delay: .16s; }
.pv-ch.is-in .pv-copy > *:nth-child(4) { transition-delay: .24s; }
.pv-ch.is-in .pv-copy > *:nth-child(5) { transition-delay: .32s; }
.pv-ch.is-in .pv-visual { transition-delay: .15s; }

/* ---------- side dots ----------------------------------------------------- */

.pv-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 50;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 6px;
  list-style: none;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 14px 40px -16px rgba(7, 28, 51, .4);
  opacity: 0;
  pointer-events: none;
  transform: translate(20px, -50%);
  transition: opacity .35s ease, transform .5s var(--pv-ease);
}
.pv-dots.is-shown { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.pv-dots a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.pv-dots a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #b9c6d6;
  border-radius: 50%;
  transition: transform .3s var(--pv-ease), background .3s ease;
}
.pv-dots a.is-active::before { background: var(--c, var(--pv-red)); transform: scale(1.7); }
.pv-dots a span {
  position: absolute;
  right: 34px;
  padding: 6px 12px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--pv-ease);
}
.pv-dots a:hover span, .pv-dots a:focus-visible span { opacity: 1; transform: none; }

/* ---------- closing ------------------------------------------------------- */

.pv-end {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px);
  background: #f3f8fd;
  border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0;
  margin-top: 0;
  overflow: hidden;
}
.pv-end__marquee { overflow: hidden; margin-bottom: clamp(32px, 5vw, 64px); }
.pv-end__track { display: flex; width: max-content; animation: pv-marquee 30s linear infinite; }
.pv-end__track span {
  padding-right: .3em;
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px #0082cf;
}
@keyframes pv-marquee { to { transform: translateX(-50%); } }
.pv-end__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.pv-end__title { max-width: 18ch; margin: 0; font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; color: var(--pv-ink); }
.pv-end__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 30px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-red);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), background .25s ease;
}
.pv-end__btn svg { box-sizing: content-box; padding: 13px; color: var(--pv-red); background: #fff; border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-end__btn:hover { color: #fff; background: var(--pv-ink); transform: translateY(-3px); }
.pv-end__btn:hover svg { transform: rotate(45deg); color: var(--pv-ink); }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 991.98px) {
  .pv-hero { padding-top: 116px; }
  .pv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pv-cloud { display: flex; flex-wrap: wrap; gap: 12px; height: auto; }
  .pv-orb { position: static; width: auto; height: 64px; padding: 0 22px; transform: none; animation: none; }
  .pv-orb img { height: 28px; max-height: none; }
  .pv-row { grid-template-columns: 2.6rem minmax(0, 1fr) 2rem; }
  .pv-row__sector { display: none; }
  .pv-row__arr { width: 26px; height: 26px; }
  .pv-ch__grid, .pv-ch:nth-child(even) .pv-ch__grid { grid-template-columns: minmax(0, 1fr); }
  .pv-ch .pv-visual, .pv-ch:nth-child(odd) .pv-visual { order: -1; }
  .pv-icon { width: min(82%, 380px); }
  .pv-dots { display: none; }
}
@media (max-width: 575.98px) {
  .pv-row__name { font-size: clamp(2.1rem, 11vw, 3rem); }
  .pv-title { font-size: clamp(2.2rem, 10vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pv-orb, .pv-end__track { animation: none !important; }
  .pv-copy > *, .pv-visual { opacity: 1; transform: none; transition: none; }
  .pv-row, .pv-row::before, .pv-row__name, .pv-peek { transition: none; }
}
.pv-index { overflow-x: clip; }
/* ==========================================================================
   NepServ — Our Products   "the showroom"
   Load after main.css and nav.css.  Scoped to body[data-page="products"].

   1. Hero: a field of floating product logos that leans toward the pointer
   2. Index: a giant typographic list; hover floods the row with the
      product's colour and a photo trails the cursor
   3. Chapters: one full-colour screen per product, an arch-framed photo with
      parallax, an outlined name behind, layered sheets
   4. Side dots, closing marquee
   ========================================================================== */

body[data-page="products"] {
  --pv-ink: #071c33;
  --pv-soft: #55637a;
  --pv-blue: #0082cf;
  --pv-red: #ec1c24;
  --pv-ease: cubic-bezier(.22, 1, .36, 1);
  background: #fff;
}

/* ---------- 1. hero ------------------------------------------------------- */

.pv-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 16vh, 180px) 0 clamp(64px, 9vh, 110px);
  background:
    radial-gradient(45% 60% at 82% 30%, rgba(0, 130, 207, .12), transparent 70%),
    radial-gradient(30% 40% at 0% 100%, rgba(236, 28, 36, .08), transparent 70%),
    #fff;
  --mx: 0;
  --my: 0;
}
.pv-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.pv-hero__kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--pv-soft);
}
.pv-hero__kicker::before { content: ""; width: 44px; height: 2px; background: var(--pv-red); }
.pv-hero__title {
  margin: 0 0 28px;
  font-size: clamp(3rem, 6.8vw, 6.75rem);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.06em;
  color: var(--pv-ink);
}
.pv-hero__title span {
  background: linear-gradient(100deg, var(--pv-blue), #3db4f2 60%, var(--pv-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pv-hero__title i { font-style: normal; color: var(--pv-red); }
.pv-hero__lead { max-width: 40ch; margin: 0 0 36px; font-size: clamp(1.0625rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--pv-soft); }
.pv-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), background .25s ease;
}
.pv-hero__btn svg { box-sizing: content-box; padding: 12px; background: var(--pv-red); border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-hero__btn:hover { color: #fff; background: var(--pv-blue); transform: translateY(-3px); }
.pv-hero__btn:hover svg { transform: translateY(3px); }

/* the logo field */
.pv-cloud { position: relative; height: clamp(420px, 62vh, 620px); }
.pv-orb {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: grid;
  place-items: center;
  width: calc(150px * var(--s));
  height: calc(76px * var(--s));
  padding: 0 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 22px 44px -18px rgba(7, 28, 51, .35);
  transform:
    translate3d(calc(var(--mx) * var(--s) * -46px), calc(var(--my) * var(--s) * -36px), 0)
    rotate(var(--r));
  animation: pv-float 7s ease-in-out var(--d) infinite;
  transition: box-shadow .3s ease;
}
.pv-orb img { max-width: 100%; max-height: 62%; object-fit: contain; }
.pv-orb:hover { box-shadow: 0 1px 2px rgba(7, 28, 51, .06), 0 30px 60px -18px rgba(0, 130, 207, .55); }
@keyframes pv-float {
  0%, 100% { margin-top: 0; }
  50% { margin-top: -16px; }
}

/* ---------- 2. index ------------------------------------------------------ */

.pv-index { position: relative; padding: 0 0 clamp(72px, 10vw, 140px); background: #fff; }
.pv-list { margin: 0; padding: 0; list-style: none; border-bottom: 1px solid #dbe7f3; }
.pv-row {
  position: relative;
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto 3.4rem;
  align-items: center;
  gap: 16px;
  padding: clamp(14px, 2vw, 26px) 0;
  color: var(--pv-ink);
  border-top: 1px solid #dbe7f3;
  isolation: isolate;
  transition: color .35s ease, padding .5s var(--pv-ease), opacity .35s ease;
}
/* colour flood from the left */
.pv-row::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: var(--c);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--pv-ease);
}
.pv-row__n { font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--pv-soft); transition: color .3s ease; }
.pv-row__name {
  font-size: clamp(2.5rem, 8.2vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.055em;
  transition: transform .6s var(--pv-ease);
}
.pv-row__sector { font-size: 1rem; font-weight: 500; color: var(--pv-soft); transition: color .3s ease; }
.pv-row__arr { justify-self: end; transition: transform .6s var(--pv-ease); }

.pv-row:hover, .pv-row:focus-visible { color: var(--ink, #fff); }
.pv-row:hover::before, .pv-row:focus-visible::before { transform: scaleX(1); }
.pv-row:hover .pv-row__name, .pv-row:focus-visible .pv-row__name { transform: translateX(clamp(10px, 2vw, 32px)); }
.pv-row:hover .pv-row__n, .pv-row:hover .pv-row__sector,
.pv-row:focus-visible .pv-row__n, .pv-row:focus-visible .pv-row__sector { color: inherit; opacity: .8; }
.pv-row:hover .pv-row__arr, .pv-row:focus-visible .pv-row__arr { transform: rotate(45deg) scale(1.2); }
.pv-row:focus-visible { outline: none; }
@supports selector(:has(a)) {
  .pv-list:has(.pv-row:hover) .pv-row:not(:hover) { opacity: .28; }
}

/* the photo that trails the cursor */
.pv-peek {
  --c: #0082cf;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  width: clamp(220px, 22vw, 340px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  pointer-events: none;
  background: var(--c);
  border-radius: 28px;
  box-shadow: 0 40px 80px -24px rgba(7, 28, 51, .55);
  opacity: 0;
  clip-path: inset(50% 50% 50% 50% round 28px);
  transition: opacity .25s ease, clip-path .5s var(--pv-ease);
  will-change: transform;
}
.pv-peek.is-on { opacity: 1; clip-path: inset(0 0 0 0 round 28px); }
.pv-peek img { width: 100%; height: 100%; object-fit: cover; }
.pv-peek.is-cut img { object-fit: contain; padding: 14%; }
@media (hover: none), (max-width: 991.98px) { .pv-peek { display: none; } }

/* ---------- 3. chapters --------------------------------------------------- */
/* One product per row on plain white. The photo lives inside an icon cut-out
   for the product's field; odd rows put it left, even rows right. */

.pv-chapters { position: relative; background: #fff; }
.pv-ch {
  --p: 0;
  position: relative;
  display: block;
  min-height: 0;
  margin: 0;
  padding: clamp(72px, 10vw, 150px) 0;
  color: var(--pv-ink);
  background: none;
  border-radius: 0;
  overflow: visible;
  isolation: auto;
}
.pv-ch:first-child { margin-top: 0; padding-top: clamp(40px, 6vw, 90px); }
.pv-ch::before, .pv-ch::after { content: none; display: none; }
/* a hairline between products, inset to the container */
.pv-ch + .pv-ch .pv-ch__grid::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(-1 * clamp(72px, 10vw, 150px));
  height: 1px;
  background: linear-gradient(90deg, transparent, #dbe7f3 18%, #dbe7f3 82%, transparent);
}

.pv-ch__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);   /* odd: picture left */
  gap: clamp(32px, 7vw, 120px);
  align-items: center;
}
.pv-ch:nth-child(even) .pv-ch__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }  /* even: picture right */
.pv-ch .pv-visual { order: 0; }
.pv-ch:nth-child(odd) .pv-visual { order: -1; }

.pv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 26px; }
.pv-meta__n { font-size: 1rem; font-weight: 600; letter-spacing: .06em; color: var(--pv-ink); }
.pv-meta__n i { font-style: normal; color: #9aa8ba; }
.pv-meta__logo {
  display: inline-grid;
  place-items: center;
  height: 46px;
  padding: 0 20px;
  background: #fff;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
  box-shadow: 0 10px 24px -16px rgba(7, 28, 51, .35);
}
.pv-meta__logo img { height: 24px; width: auto; max-width: 120px; object-fit: contain; }
.pv-meta__sector { font-size: .9375rem; font-weight: 600; color: var(--pv-soft); opacity: 1; }

.pv-title {
  max-width: 15ch;
  margin: 0 0 22px;
  font-size: clamp(2.25rem, 4.8vw, 4.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--pv-ink);
}
.pv-text { max-width: 54ch; margin: 0 0 26px; font-size: clamp(1rem, 1.2vw, 1.125rem); line-height: 1.7; color: var(--pv-soft); opacity: 1; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 34px; padding: 0; list-style: none; }
.pv-chips li {
  padding: 9px 16px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--pv-ink);
  background: #f3f8fd;
  border: 1px solid #dbe7f3;
  border-radius: 999px;
}
.pv-cta,
.pv-ch[style*="--ink"] .pv-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), box-shadow .35s ease, background .25s ease;
}
.pv-cta svg { box-sizing: content-box; padding: 12px; color: #fff; background: var(--pv-red); border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-cta:hover,
.pv-ch[style*="--ink"] .pv-cta:hover { color: #fff; background: var(--pv-blue); transform: translateY(-3px); box-shadow: 0 22px 40px -18px rgba(0, 90, 160, .6); }
.pv-cta:hover svg { transform: rotate(45deg); }

/* the icon cut-out */
.pv-visual { position: relative; display: grid; place-items: center; }
.pv-visual::before {                              /* soft glow in the product's own colour */
  content: "";
  position: absolute;
  inset: 4%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 13%, transparent), transparent 100%);
  border: 0;
  border-radius: 50%;
  transform: none;
  aspect-ratio: auto;
  width: auto;
}
.pv-icon {
  position: relative;
  display: block;
  width: min(100%, 500px);
  height: auto;
  overflow: visible;
}
.pv-icon__pic { filter: drop-shadow(0 30px 30px rgba(7, 28, 51, .2)); }
.pv-icon__ghost { transform: translate(16px, 16px); }
.pv-icon__ghost * { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 3 9; stroke-linecap: round; opacity: .8; }
.pv-icon__bg { fill: #e8f1fa; }
.pv-icon__img {
  /* the whole height of the photo shows; it only pans sideways a little */
  transform: translateX(calc(var(--p) * -36px));
}

/* entrance */
.pv-copy > *, .pv-visual { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform 1s var(--pv-ease); }
.pv-ch.is-in .pv-copy > *, .pv-ch.is-in .pv-visual { opacity: 1; transform: none; }
.pv-ch.is-in .pv-copy > *:nth-child(2) { transition-delay: .08s; }
.pv-ch.is-in .pv-copy > *:nth-child(3) { transition-delay: .16s; }
.pv-ch.is-in .pv-copy > *:nth-child(4) { transition-delay: .24s; }
.pv-ch.is-in .pv-copy > *:nth-child(5) { transition-delay: .32s; }
.pv-ch.is-in .pv-visual { transition-delay: .15s; }

/* ---------- side dots ----------------------------------------------------- */

.pv-dots {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 50;
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px 6px;
  list-style: none;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 14px 40px -16px rgba(7, 28, 51, .4);
  opacity: 0;
  pointer-events: none;
  transform: translate(20px, -50%);
  transition: opacity .35s ease, transform .5s var(--pv-ease);
}
.pv-dots.is-shown { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.pv-dots a { position: relative; display: grid; place-items: center; width: 22px; height: 22px; }
.pv-dots a::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #b9c6d6;
  border-radius: 50%;
  transition: transform .3s var(--pv-ease), background .3s ease;
}
.pv-dots a.is-active::before { background: var(--c, var(--pv-red)); transform: scale(1.7); }
.pv-dots a span {
  position: absolute;
  right: 34px;
  padding: 6px 12px;
  font-size: .8125rem;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: var(--pv-ink);
  border-radius: 999px;
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .3s var(--pv-ease);
}
.pv-dots a:hover span, .pv-dots a:focus-visible span { opacity: 1; transform: none; }

/* ---------- closing ------------------------------------------------------- */

.pv-end {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 110px);
  background: #f3f8fd;
  border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0;
  margin-top: 0;
  overflow: hidden;
}
.pv-end__marquee { display: none; }
.pv-end__track { display: flex; width: max-content; animation: pv-marquee 30s linear infinite; }
.pv-end__track span {
  padding-right: .3em;
  font-size: clamp(4rem, 13vw, 12rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.06em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 2px #0082cf;
}
@keyframes pv-marquee { to { transform: translateX(-50%); } }
.pv-end__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.pv-end__title { max-width: 18ch; margin: 0; font-size: clamp(1.75rem, 3.6vw, 3.25rem); font-weight: 500; line-height: 1.02; letter-spacing: -.045em; color: var(--pv-ink); }
.pv-end__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 30px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  background: var(--pv-red);
  border-radius: 999px;
  transition: transform .35s var(--pv-ease), background .25s ease;
}
.pv-end__btn svg { box-sizing: content-box; padding: 13px; color: var(--pv-red); background: #fff; border-radius: 50%; transition: transform .35s var(--pv-ease); }
.pv-end__btn:hover { color: #fff; background: var(--pv-ink); transform: translateY(-3px); }
.pv-end__btn:hover svg { transform: rotate(45deg); color: var(--pv-ink); }

/* ---------- responsive ---------------------------------------------------- */

@media (max-width: 991.98px) {
  .pv-hero { padding-top: 116px; }
  .pv-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .pv-cloud { display: flex; flex-wrap: wrap; gap: 12px; height: auto; }
  .pv-orb { position: static; width: auto; height: 64px; padding: 0 22px; transform: none; animation: none; }
  .pv-orb img { height: 28px; max-height: none; }
  .pv-row { grid-template-columns: 2.6rem minmax(0, 1fr) 2rem; }
  .pv-row__sector { display: none; }
  .pv-row__arr { width: 26px; height: 26px; }
  .pv-ch__grid, .pv-ch:nth-child(even) .pv-ch__grid { grid-template-columns: minmax(0, 1fr); }
  .pv-ch .pv-visual, .pv-ch:nth-child(odd) .pv-visual { order: -1; }
  .pv-icon { width: min(82%, 380px); }
  .pv-dots { display: none; }
}
@media (max-width: 575.98px) {
  .pv-row__name { font-size: clamp(2.1rem, 11vw, 3rem); }
  .pv-title { font-size: clamp(2.2rem, 10vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  .pv-orb, .pv-end__track { animation: none !important; }
  .pv-copy > *, .pv-visual { opacity: 1; transform: none; transition: none; }
  .pv-row, .pv-row::before, .pv-row__name, .pv-peek { transition: none; }
}
.pv-index { overflow-x: clip; }
/* ==========================================================================
   Products: logo field, final pass. Every pill and logo is one size, the float
   runs on `translate` (compositor only, no layout), positions stay in bounds.
   ========================================================================== */
.pv-orb {
  --ow: 164px;
  --oh: 74px;
  width: var(--ow);
  height: var(--oh);
  padding: 0;
  transform: translate3d(calc(var(--mx, 0) * -40px), calc(var(--my, 0) * -30px), 0) rotate(var(--r));
  animation: pv-drift 8s ease-in-out var(--d) infinite;
  transition: box-shadow .3s ease;
  will-change: transform, translate;
  backface-visibility: hidden;
}
.pv-orb img {
  display: block;
  width: 116px;
  height: 38px;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
@keyframes pv-drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
@media (min-width: 992px) {
  .pv-orb {
    left: calc((100% - var(--ow)) * var(--px));
    top: calc((100% - var(--oh) - 12px) * var(--py) + 12px);
  }
}
@media (max-width: 991.98px) {
  .pv-orb { width: var(--ow); height: 64px; padding: 0; transform: none; animation: none; }
  .pv-orb img { width: 108px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-orb { animation: none; }
}

/* chapter logos sit on their own, no pill */
.pv-meta__logo {
  height: auto;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.pv-meta__logo img { height: 34px; width: auto; max-width: 150px; object-fit: contain; }

/* ==========================================================================
   All inner-page banners: the Our People look (navy, blue glow, dot field on
   the right, left-aligned title with a light-blue accent, white sheet rising
   over the bottom edge). Our People and Products keep their own, more specific rules.
   ========================================================================== */
.page-banner {
  padding: 150px 0 128px;
  text-align: left;
  background:
    radial-gradient(55% 90% at 88% 10%, rgba(0, 130, 207, .55), transparent 62%),
    radial-gradient(40% 70% at 0% 100%, rgba(61, 180, 242, .2), transparent 60%),
    #071c33;
}
.page-banner::before { display: none; }
.page-banner::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 0;
  width: 60%;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.7px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 85%);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
}
.page-banner > .container { position: relative; z-index: 1; }
.page-banner__title {
  max-width: 14ch;
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.04em;
  color: #fff;
}
.page-banner .pb-accent { color: #8fd4ff; }
.page-banner__lead {
  max-width: 46ch;
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, .78);
}
.page-banner__crumbs {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: .8125rem;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
}
.page-banner__crumbs [aria-current] { text-decoration: none; color: #8fd4ff; }

/* the first section rises over the banner on a rounded white sheet */
.page-banner + section {
  position: relative;
  z-index: 1;
  margin-top: -64px;
  background-color: #fff;
  border-radius: 48px 48px 0 0;
}

@media (max-width: 991.98px) {
  .page-banner { padding: 124px 0 112px; }
  .page-banner + section { border-radius: 36px 36px 0 0; }
}
@media (max-width: 575.98px) {
  .page-banner { padding: 108px 0 96px; }
  .page-banner + section { margin-top: -48px; border-radius: 28px 28px 0 0; }
}
/* contact: the full-bleed card row is the sheet itself, clipped to its curve */
.page-banner + .contact-band { padding-top: 0; overflow: hidden; }
