/* NORDSP — corporate site */
:root {
  --ns-blue: #3d8ec9;
  --ns-blue-deep: #2a6fa0;
  --ns-red: #d32f2a;
  --ns-red-deep: #b52520;
  --ns-ink: #14171c;
  --ns-ink-soft: #2a3038;
  --ns-slate: #5c6570;
  --ns-mist: #f3f5f7;
  --ns-line: #e4e8ec;
  --ns-white: #ffffff;
  --ns-radius: 1rem;
  --ns-radius-lg: 1.5rem;
  --ns-shadow: 0 18px 50px rgba(20, 23, 28, 0.1);
  --ns-font-display: "Syne", system-ui, sans-serif;
  --ns-font-body: "Manrope", system-ui, sans-serif;
  --ns-nav-h: 76px;
  --ns-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--ns-nav-h) + 1rem);
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--ns-font-body);
  color: var(--ns-ink);
  background:
    linear-gradient(rgba(20, 23, 28, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 23, 28, 0.018) 1px, transparent 1px),
    var(--ns-white);
  background-size: 40px 40px;
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
}

/* Large Bootstrap gutters (g-4/g-5) use negative row margins wider than
   .container padding on mobile — that creates the right-side white gap. */
@media (max-width: 991.98px) {
  .row.g-4,
  .row.g-5,
  .row.gy-4,
  .row.gy-5,
  .row.gx-4,
  .row.gx-5,
  .row.g-lg-5,
  .row.g-4.g-lg-5 {
    --bs-gutter-x: 1.5rem;
  }
}

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

a {
  color: var(--ns-blue-deep);
  text-decoration: none;
  transition: color 0.25s var(--ns-ease);
}

a:hover {
  color: var(--ns-red);
}

h1,
h2,
h3,
h4,
.h-display {
  font-family: var(--ns-font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ns-ink);
}

.lead {
  font-size: 1.125rem;
  color: var(--ns-slate);
  max-width: 40rem;
}

.text-muted-ns {
  color: var(--ns-slate) !important;
}

/* ——— Navbar ——— */
.ns-navbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1040;
  min-height: var(--ns-nav-h);
  background: rgba(20, 23, 28, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ns-ease), box-shadow 0.3s var(--ns-ease);
}

.ns-navbar.is-scrolled {
  background: rgba(20, 23, 28, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.ns-navbar > .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-height: var(--ns-nav-h);
}

.ns-navbar .navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
}

.ns-navbar .navbar-brand img {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.15));
}

.ns-navbar .nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72) !important;
  padding: 0.5rem 0.85rem !important;
  position: relative;
  line-height: 1.2;
}

.ns-navbar .btn-ns-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  line-height: 1.2;
  box-shadow: 0 8px 22px rgba(211, 47, 42, 0.28);
}

.ns-navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--ns-blue), var(--ns-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ns-ease);
}

.ns-navbar .nav-link:hover,
.ns-navbar .nav-link.active {
  color: #fff !important;
}

.ns-navbar .nav-link:hover::after,
.ns-navbar .nav-link.active::after {
  transform: scaleX(1);
}

.ns-navbar .navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.55rem;
  margin-left: auto;
}

.ns-navbar .navbar-toggler:focus {
  box-shadow: none;
}

.ns-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  /* Keep logo + burger on a stable bar; menu overlays below and does not reflow them */
  .ns-navbar > .container {
    position: relative;
    flex-wrap: nowrap;
  }

  .ns-navbar .navbar-collapse {
    position: absolute;
    top: calc(100% - 0.35rem);
    left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    z-index: 1045;
    background: rgba(20, 23, 28, 0.98);
    margin-top: 0;
    padding: 1rem;
    border-radius: var(--ns-radius);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    max-height: calc(100dvh - var(--ns-nav-h) - 1rem);
    overflow-y: auto;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      height 0.32s var(--ns-ease),
      opacity 0.28s var(--ns-ease),
      transform 0.28s var(--ns-ease);
  }

  .ns-navbar .navbar-collapse.show,
  .ns-navbar .navbar-collapse.collapsing {
    opacity: 1;
    transform: translateY(0);
  }

  .ns-navbar .navbar-collapse .nav-link {
    padding: 0.7rem 0.85rem !important;
    border-radius: 0.65rem;
    transition: color 0.35s var(--ns-ease);
  }

  .ns-navbar .navbar-collapse .nav-link:hover {
    background: transparent;
  }

  .ns-navbar .navbar-toggler {
    transition: border-color 0.35s var(--ns-ease), background 0.35s var(--ns-ease);
  }

  .ns-navbar .navbar-toggler[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.06);
  }
}

/* ——— Buttons ——— */
.btn-ns-primary,
.btn-ns-outline,
.btn-ns-blue,
.btn-ns-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  border-radius: 999px;
  border-width: 1.5px;
  vertical-align: middle;
  transition:
    background-color 0.35s var(--ns-ease),
    border-color 0.35s var(--ns-ease),
    color 0.35s var(--ns-ease),
    box-shadow 0.35s var(--ns-ease),
    opacity 0.35s var(--ns-ease);
}

.btn-ns-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ns-red);
  --bs-btn-border-color: var(--ns-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ns-red-deep);
  --bs-btn-hover-border-color: var(--ns-red-deep);
  --bs-btn-focus-shadow-rgb: 211, 47, 42;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ns-red-deep);
  --bs-btn-active-border-color: var(--ns-red-deep);
  box-shadow: 0 10px 28px rgba(211, 47, 42, 0.22);
}

.btn-ns-primary:hover {
  box-shadow: 0 10px 28px rgba(211, 47, 42, 0.3);
}

.btn-ns-outline {
  --bs-btn-color: #fff;
  --bs-btn-bg: rgba(255, 255, 255, 0.04);
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-hover-color: var(--ns-ink);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: var(--ns-ink);
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: #fff;
}

.btn-ns-blue {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ns-blue);
  --bs-btn-border-color: var(--ns-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ns-blue-deep);
  --bs-btn-hover-border-color: var(--ns-blue-deep);
  --bs-btn-focus-shadow-rgb: 61, 142, 201;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--ns-blue-deep);
  --bs-btn-active-border-color: var(--ns-blue-deep);
}

.btn-ns-dark {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--ns-ink);
  --bs-btn-border-color: var(--ns-ink);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--ns-ink-soft);
  --bs-btn-hover-border-color: var(--ns-ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.hero-cta .btn {
  min-width: 11.5rem;
}

/* Segmented product tabs */
.ns-seg {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.35rem;
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(20, 23, 28, 0.05);
}

.ns-seg-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  min-width: 7.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--ns-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background 0.25s var(--ns-ease), color 0.25s var(--ns-ease), border-color 0.25s var(--ns-ease);
}

.ns-seg-item:hover {
  color: var(--ns-ink);
  background: var(--ns-mist);
}

.ns-seg-item.is-active {
  color: #fff;
  background: var(--ns-ink);
  border-color: var(--ns-ink);
}

.ns-seg-item.is-active:hover {
  color: #fff;
  background: var(--ns-ink-soft);
}

/* ——— Hero ——— */
.ns-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--ns-nav-h) + 3rem) 0 4rem;
  background: var(--ns-ink);
  color: #fff;
  overflow: hidden;
}

.ns-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 20%, rgba(61, 142, 201, 0.35), transparent 55%),
    radial-gradient(ellipse 55% 50% at 10% 85%, rgba(211, 47, 42, 0.28), transparent 50%),
    linear-gradient(160deg, #0c0e12 0%, #1a222c 45%, #12161c 100%);
  z-index: 0;
}

.ns-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3e%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

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

.ns-kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  opacity: 0;
  animation: nsFadeUp 0.9s var(--ns-ease) forwards;
}

.ns-kicker span {
  width: 38px;
  height: 1px;
  background: var(--ns-red);
}

.ns-hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 5.5vw, 4.25rem);
  max-width: 14ch;
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: nsFadeUp 0.9s var(--ns-ease) 0.15s forwards;
}

.ns-hero .hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.72);
  max-width: 36rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: nsFadeUp 0.9s var(--ns-ease) 0.3s forwards;
}

.ns-hero .hero-cta {
  opacity: 0;
  animation: nsFadeUp 0.9s var(--ns-ease) 0.45s forwards;
}

.ns-hero-visual {
  position: relative;
  opacity: 0;
  animation: nsFadeUp 1s var(--ns-ease) 0.35s forwards;
}

.ns-hero-panel {
  position: relative;
  border-radius: var(--ns-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 560px;
  background: #1c2430;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.42);
}

.ns-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 10, 14, 0.2) 60%, rgba(8, 10, 14, 0.9) 100%);
  pointer-events: none;
}

.ns-hero-panel > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 1.2s var(--ns-ease);
}

.ns-hero-panel:hover > img {
  transform: scale(1.03);
}

.ns-hero-index {
  position: absolute;
  z-index: 2;
  top: 1.25rem;
  right: 1.25rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.35);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.ns-hero-panel-content {
  position: absolute;
  inset: auto 1.5rem 1.5rem;
  z-index: 3;
  padding: 1.25rem 1.35rem;
  background: rgba(12, 14, 18, 0.72);
  backdrop-filter: blur(12px);
  border-radius: var(--ns-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ns-hero-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.85rem;
  background: rgba(18, 23, 30, 0.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
  font-weight: 600;
}

.ns-hero-float i {
  color: var(--ns-blue);
  font-size: 1rem;
}

.ns-hero-float strong {
  color: #fff;
}

.ns-hero-float-top {
  top: 12%;
  left: 0.75rem;
}

.ns-hero-float-bottom {
  right: 0.75rem;
  bottom: 26%;
}

@media (min-width: 1200px) {
  .ns-hero-float-top {
    left: -1.25rem;
  }

  .ns-hero-float-bottom {
    right: -1rem;
  }
}

.ns-hero-panel-content span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.35rem;
}

.ns-hero-panel-content strong {
  font-family: var(--ns-font-display);
  font-size: 1.05rem;
  font-weight: 700;
}

.ns-markets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: nsFadeUp 0.9s var(--ns-ease) 0.6s forwards;
}

.ns-markets span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.4rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.4s var(--ns-ease), border-color 0.4s var(--ns-ease);
}

.ns-markets span:hover {
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.34);
}

/* Page hero (inner pages) */
.ns-page-hero {
  position: relative;
  padding: calc(var(--ns-nav-h) + 4.5rem) 0 4rem;
  background: var(--ns-ink);
  color: #fff;
  overflow: hidden;
}

.ns-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(61, 142, 201, 0.3), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(211, 47, 42, 0.2), transparent 50%);
}

.ns-page-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 48%;
  background-position: center;
  background-size: cover;
  opacity: 0.32;
  mask-image: linear-gradient(90deg, transparent, #000 28%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
  filter: saturate(0.85) contrast(1.05);
}

.ns-page-hero--products::after {
  background-image: url("../assets/nordsp-products.webp");
}

.ns-page-hero--logistics::after {
  background-image: url("../assets/nordsp-logistics.webp");
}

.ns-page-hero--precision::after {
  background-image: url("../assets/nordsp-hero.webp");
  background-position: center 58%;
}

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

.ns-page-hero .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 0.85rem;
}

.ns-page-hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  margin-bottom: 1rem;
}

.ns-page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  max-width: 38rem;
  margin: 0;
}

/* ——— Sections ——— */
.ns-section {
  padding: 5.5rem 0;
}

.ns-section-mist {
  background: var(--ns-mist);
}

.ns-section-dark {
  background: var(--ns-ink);
  color: #fff;
}

.ns-section-dark h2,
.ns-section-dark h3 {
  color: #fff;
}

.ns-section-dark .lead,
.ns-section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.ns-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ns-blue);
  margin-bottom: 0.75rem;
}

.ns-section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.ns-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--ns-blue), var(--ns-red));
  border-radius: 2px;
  margin: 0 0 1.5rem;
}

/* ——— Feature strips / pillars ——— */
.ns-pillar {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--ns-line);
}

.ns-pillar:last-child {
  border-bottom: 0;
}

.ns-pillar-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(61, 142, 201, 0.15), rgba(211, 47, 42, 0.12));
  color: var(--ns-ink);
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.ns-pillar h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.ns-pillar p {
  color: var(--ns-slate);
  margin: 0;
  font-size: 0.98rem;
}

/* Interaction tiles (allowed as interactive containers) */
.ns-tile {
  display: block;
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--ns-radius);
  background: var(--ns-white);
  border: 1px solid var(--ns-line);
  color: inherit;
  transition: border-color 0.4s var(--ns-ease);
  overflow: hidden;
}

a.ns-tile:hover {
  color: inherit;
  border-color: rgba(20, 23, 28, 0.22);
}

a.ns-tile::after {
  content: "0" counter(ns-tile);
  float: right;
  margin-top: -2.6rem;
  color: rgba(20, 23, 28, 0.12);
  font-family: var(--ns-font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.ns-section .row:has(> [class*="col-"] > a.ns-tile) {
  counter-reset: ns-tile;
}

a.ns-tile {
  counter-increment: ns-tile;
}

/* Editorial product image */
.ns-showcase {
  padding: 0 0 5.5rem;
  background: var(--ns-white);
}

.ns-showcase-frame {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--ns-ink);
  box-shadow: 0 32px 80px rgba(20, 23, 28, 0.18);
}

.ns-showcase-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ns-ease);
}

.ns-showcase-frame:hover > img {
  transform: scale(1.02);
}

.ns-showcase-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.45) 48%, rgba(8, 10, 14, 0.08) 76%),
    linear-gradient(0deg, rgba(8, 10, 14, 0.65), transparent 55%);
}

.ns-showcase-copy {
  position: absolute;
  z-index: 2;
  inset: auto 2.5rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 1.75rem;
  color: #fff;
}

.ns-showcase-copy h2 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

.ns-showcase-copy .ns-eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.ns-showcase-number {
  align-self: start;
  color: var(--ns-red);
  font-family: var(--ns-font-display);
  font-size: 0.85rem;
  font-weight: 700;
}

.ns-circle-link {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ns-red);
  color: #fff;
  font-size: 1.4rem;
  transition: background 0.4s var(--ns-ease), color 0.4s var(--ns-ease);
}

.ns-circle-link:hover {
  background: #fff;
  color: var(--ns-ink);
}

.ns-tile-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
  background: var(--ns-mist);
  color: var(--ns-blue-deep);
}

.ns-tile h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.ns-tile p {
  color: var(--ns-slate);
  margin: 0;
  font-size: 0.95rem;
}

.ns-tile .ns-tile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ns-red);
  transition: color 0.4s var(--ns-ease);
}

a.ns-tile:hover .ns-tile-link {
  color: var(--ns-red-deep);
}

/* Brands slider (native scroll + drag) */
.ns-brands-controls {
  display: flex;
  justify-content: flex-start;
  gap: 0.65rem;
}

@media (min-width: 992px) {
  .ns-brands-controls {
    justify-content: flex-end;
    padding-bottom: 0.35rem;
  }
}

.ns-brands-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--ns-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ns-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  transition: background 0.35s var(--ns-ease), color 0.35s var(--ns-ease), border-color 0.35s var(--ns-ease);
}

.ns-brands-btn:hover {
  background: var(--ns-ink);
  border-color: var(--ns-ink);
  color: #fff;
}

.ns-brands-btn:disabled {
  opacity: 0.35;
  pointer-events: none;
  transform: none;
}

.ns-brands-stage {
  position: relative;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ns-brands-track {
  display: flex;
  gap: 1rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.35rem 0.15rem 0.75rem;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-width: none;
  user-select: none;
}

.ns-brands-track::-webkit-scrollbar {
  display: none;
}

.ns-brands-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.ns-brand-card {
  position: relative;
  flex: 0 0 min(280px, calc(100% - 0.35rem));
  display: flex;
  flex-direction: column;
  min-height: 168px;
  padding: 1.2rem 1.2rem 1.35rem;
  border: 1px solid rgba(20, 23, 28, 0.08);
  border-radius: 1.15rem;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(243, 245, 247, 0.92)),
    #fff;
  box-shadow: 0 10px 28px rgba(20, 23, 28, 0.04);
  overflow: hidden;
  scroll-snap-align: start;
  transition: border-color 0.4s var(--ns-ease);
}

@media (min-width: 576px) {
  .ns-brand-card {
    flex-basis: calc((100% - 1rem) / 2);
  }
}

@media (min-width: 768px) {
  .ns-brand-card {
    flex-basis: calc((100% - 2rem) / 3);
  }
}

@media (min-width: 992px) {
  .ns-brand-card {
    flex-basis: calc((100% - 3rem) / 4);
  }
}

@media (min-width: 1200px) {
  .ns-brand-card {
    flex-basis: calc((100% - 4rem) / 5);
  }
}

.ns-brand-card:hover {
  border-color: rgba(20, 23, 28, 0.18);
}

.ns-brand-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ns-brand-name {
  display: block;
  margin: 0;
  font-family: var(--ns-font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ns-ink);
}

.ns-brand-desc {
  margin: 0;
  min-height: 4.35em;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ns-slate);
}

.ns-brand-accent {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(90deg, var(--ns-blue), var(--ns-red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ns-ease);
}

.ns-brand-card:hover .ns-brand-accent {
  transform: scaleX(1);
}

.ns-brands-note {
  max-width: 46rem;
}

.ns-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .ns-brand-card {
    min-height: 156px;
    padding: 1.05rem 1.1rem 1.2rem;
  }
}

/* Checklist */
.ns-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ns-check-list li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.1rem;
  border-bottom: 1px solid var(--ns-line);
  color: var(--ns-ink-soft);
  font-weight: 500;
}

.ns-check-list li:last-child {
  border-bottom: 0;
}

.ns-check-list li::before {
  content: "\F26A";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0.7rem;
  color: var(--ns-blue);
  font-size: 1.1rem;
}

.ns-section-dark .ns-check-list li {
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

/* Stats strip */
.ns-stat {
  padding: 1.25rem 0;
}

.ns-stat .num {
  font-family: var(--ns-font-display);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--ns-blue), #fff 55%, var(--ns-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.35rem;
}

.ns-stat .label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Product accordion-style blocks */
.ns-product-block {
  padding: 2rem 0;
  border-top: 1px solid var(--ns-line);
}

.ns-product-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.ns-product-block h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.ns-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}

.ns-tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--ns-mist);
  color: var(--ns-ink-soft);
  border: 1px solid transparent;
}

.ns-tag-accent {
  background: rgba(61, 142, 201, 0.1);
  color: var(--ns-blue-deep);
}

/* Contact sourcing block */
.ns-sourcing {
  background: var(--ns-mist);
}

.ns-sourcing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 576px) {
  .ns-sourcing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .ns-sourcing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .ns-sourcing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ns-sourcing-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 84px;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(20, 23, 28, 0.08);
  border-radius: 1rem;
  background: #fff;
  color: inherit;
  box-shadow: 0 8px 24px rgba(20, 23, 28, 0.04);
  transition: border-color 0.4s var(--ns-ease);
}

.ns-sourcing-item:hover {
  color: inherit;
  border-color: rgba(20, 23, 28, 0.2);
}

.ns-sourcing-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(61, 142, 201, 0.14), rgba(211, 47, 42, 0.1));
  color: var(--ns-blue-deep);
  font-size: 1.2rem;
}

.ns-sourcing-label {
  font-family: var(--ns-font-display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ns-ink);
}

.ns-sourcing-arrow {
  color: rgba(20, 23, 28, 0.28);
  font-size: 1rem;
  transition: color 0.4s var(--ns-ease);
}

.ns-sourcing-item:hover .ns-sourcing-arrow {
  color: var(--ns-slate);
}

.ns-sourcing-note {
  margin-top: 1.5rem;
  max-width: 40rem;
}

/* Products page tabs */
.ns-products {
  padding-top: 3.5rem;
}

.ns-products-shell {
  padding: 1.25rem;
  border: 1px solid var(--ns-line);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 50px rgba(20, 23, 28, 0.06);
}

@media (min-width: 768px) {
  .ns-products-shell {
    padding: 1.5rem 1.75rem 1.85rem;
  }
}

.ns-product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.75rem;
  padding: 0.4rem;
  border: 1px solid var(--ns-line);
  border-radius: 999px;
  background: var(--ns-mist);
}

.ns-product-tabs .nav-item {
  flex: 1 1 auto;
}

.ns-product-tabs .nav-link {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ns-ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
}

.ns-product-tabs .nav-link i {
  font-size: 1.05rem;
  color: var(--ns-blue-deep);
}

.ns-product-tabs .nav-link:hover {
  color: var(--ns-ink);
  background: rgba(255, 255, 255, 0.7);
}

.ns-product-tabs .nav-link.active {
  color: #fff;
  background: var(--ns-ink);
  box-shadow: 0 10px 24px rgba(20, 23, 28, 0.18);
}

.ns-product-tabs .nav-link.active i {
  color: #fff;
}

.ns-product-intro {
  margin-bottom: 1.75rem;
}

.ns-product-intro .ns-section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.ns-product-card {
  height: 100%;
  padding: 1.35rem 1.3rem 1.45rem;
  border: 1px solid rgba(20, 23, 28, 0.08);
  border-radius: 1.15rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 23, 28, 0.04);
}

.ns-product-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.ns-product-card-head h3 {
  margin: 0;
  font-size: 1.12rem;
}

.ns-product-card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(61, 142, 201, 0.12);
  color: var(--ns-blue-deep);
  font-size: 1.2rem;
}

.ns-product-card-icon--red {
  background: rgba(211, 47, 42, 0.1);
  color: var(--ns-red);
}

.ns-product-card .ns-tag-cloud {
  margin-top: 0;
}

.ns-product-card--wide {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

@media (max-width: 575.98px) {
  .ns-product-tabs {
    border-radius: 1.15rem;
  }

  .ns-product-tabs .nav-item {
    flex: 1 1 100%;
  }
}

/* CTA band */
.ns-cta {
  position: relative;
  padding: 4.5rem 0;
  overflow: hidden;
  background: linear-gradient(120deg, #16202b 0%, #1a2836 50%, #241820 100%);
  color: #fff;
}

.ns-cta::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(61, 142, 201, 0.35), transparent 65%);
  pointer-events: none;
}

.ns-cta::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  left: -60px;
  bottom: -100px;
  background: radial-gradient(circle, rgba(211, 47, 42, 0.28), transparent 65%);
  pointer-events: none;
}

.ns-cta .container {
  position: relative;
  z-index: 1;
}

.ns-cta h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.ns-cta p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 34rem;
  margin-bottom: 0;
}

/* Contact form */
.ns-form .form-control,
.ns-form .form-select {
  border-radius: 0.85rem;
  border-color: var(--ns-line);
  padding: 0.85rem 1.1rem;
  font-size: 0.95rem;
  background: var(--ns-white);
}

.ns-form .form-control:focus,
.ns-form .form-select:focus {
  border-color: var(--ns-blue);
  box-shadow: 0 0 0 0.2rem rgba(61, 142, 201, 0.18);
}

.ns-form label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
}

.ns-contact-info {
  padding: 2rem;
  border-radius: var(--ns-radius-lg);
  background: var(--ns-ink);
  color: #fff;
  height: 100%;
}

.ns-contact-info h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.ns-contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.ns-contact-item i {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ns-blue);
  font-size: 1.15rem;
}

.ns-contact-item strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.25rem;
}

.ns-contact-item a,
.ns-contact-item span {
  color: #fff;
  font-weight: 600;
}

.ns-contact-item a:hover {
  color: var(--ns-blue);
}

/* Footer */
.ns-footer {
  background: #0c0e12;
  color: rgba(255, 255, 255, 0.65);
  padding: 4rem 0 2rem;
}

.ns-footer img {
  height: 40px;
  width: auto;
  margin-bottom: 1.25rem;
}

.ns-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}

.ns-footer a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.35s var(--ns-ease);
}

.ns-footer a:hover {
  color: #fff;
}

.ns-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ns-footer li {
  margin-bottom: 0.55rem;
}

.ns-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

/* Reveal on scroll */
.ns-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ns-ease), transform 0.85s var(--ns-ease);
  will-change: opacity, transform;
}

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

.ns-reveal-delay-1 { transition-delay: 0.08s; }
.ns-reveal-delay-2 { transition-delay: 0.16s; }
.ns-reveal-delay-3 { transition-delay: 0.24s; }

@keyframes nsFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nsSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 991.98px) {
  .ns-hero {
    min-height: auto;
    padding-top: calc(var(--ns-nav-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .ns-hero-visual {
    margin-top: 2.5rem;
  }

  .ns-hero-panel {
    aspect-ratio: 16 / 11;
    max-height: none;
  }

  .ns-hero-float-top {
    left: 1rem;
  }

  .ns-hero-float-bottom {
    right: 1rem;
  }

  .ns-section {
    padding: 4rem 0;
  }

  .ns-showcase {
    padding-bottom: 4rem;
  }

  .ns-showcase-frame {
    min-height: 450px;
  }
}

@media (max-width: 575.98px) {
  .ns-hero h1 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .ns-hero-float {
    display: none;
  }

  .ns-seg {
    width: 100%;
    border-radius: 1.25rem;
  }

  .ns-seg-item {
    flex: 1 1 auto;
    min-width: calc(50% - 0.25rem);
  }

  .ns-showcase-frame {
    min-height: 480px;
    border-radius: 1.25rem;
  }

  .ns-showcase-frame > img {
    object-position: 60% center;
  }

  .ns-showcase-copy {
    inset: auto 1.35rem 1.5rem;
    grid-template-columns: 1fr auto;
    gap: 1rem;
  }

  .ns-showcase-number {
    display: none;
  }

  .ns-circle-link {
    width: 52px;
    height: 52px;
  }

  .ns-page-hero::after {
    inset: 0;
    opacity: 0.2;
    mask-image: linear-gradient(0deg, transparent, #000);
    -webkit-mask-image: linear-gradient(0deg, transparent, #000);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .ns-kicker,
  .ns-hero h1,
  .ns-hero .hero-sub,
  .ns-hero .hero-cta,
  .ns-hero-visual,
  .ns-markets {
    opacity: 1;
    animation: none;
  }
}
