/* =========================================================
   Clients & Markets page redesign
   Hero/header/footer align with products/services pages while
   inner sections use product/service-inspired cards, runways and
   animated panels based on the company profile.
   ========================================================= */
.clients-page {
  background:
    radial-gradient(
      circle at 8% 8%,
      rgba(166, 138, 100, 0.12),
      transparent 28vw
    ),
    linear-gradient(180deg, var(--white) 0%, var(--site-paper) 100%);
}

/* ==========================================================================
   CLIENTS & MARKETS HERO SECTION
   Parallax header banner and grid overlay details for Clients subpage.
   ========================================================================== */
.clients-hero {
  min-height: 480px;
  height: 64vh;
  isolation: isolate;
  background: var(--primary-color);
}

.clients-hero .parallax-bg {
  height: 116%;
  filter: saturate(0.88) contrast(1.1) brightness(0.72);
  transform-origin: center top;
}

.clients-hero .hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.84) 0%,
      rgba(0, 0, 0, 0.58) 45%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    radial-gradient(
      circle at 72% 30%,
      rgba(166, 138, 100, 0.32),
      transparent 34vw
    );
}

.clients-hero::before,
.clients-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.clients-hero::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78), transparent 74%);
  opacity: 0.34;
}

.clients-hero::after {
  left: 0;
  right: 0;
  bottom: -1px;
  height: 32%;
  background: linear-gradient(to top, var(--site-paper), transparent);
  z-index: 2;
}

.clients-hero-content {
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  padding-top: 86px;
  padding-bottom: 34px;
}

.clients-kicker {
  display: none;
}

.clients-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 5.2rem) !important;
  line-height: 0.92;
  letter-spacing: -0.055em;
  margin-bottom: 18px !important;
  max-width: 900px;
}

.clients-hero-title span {
  display: block;
}

.clients-hero-lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.68;
  margin-bottom: 0;
}

.clients-hero-actions {
  display: none;
}

.clients-hero-card {
  justify-self: end;
  width: min(100%, 340px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.055)
  );
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 20px;
  padding: 16px 18px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.clients-hero-card::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(166, 138, 100, 0.32);
  filter: blur(30px);
}

.clients-hero-card > * {
  position: relative;
  z-index: 1;
}
.clients-hero-card-label {
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}
.clients-hero-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.clients-hero-metric {
  min-height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.18);
}
.clients-hero-metric strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.05em;
}
.clients-hero-metric span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.35;
}
.clients-hero-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  line-height: 1.45;
  margin: 0;
}
.clients-hero-note i {
  color: var(--accent-color);
  font-size: 15px;
  margin-top: 1px;
}
.clients-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 4;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
}
.clients-scroll-cue::after {
  content: "";
  display: block;
  width: 1px;
  height: 56px;
  margin: 18px auto 0;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
  animation: clientsLineDrift 2.2s var(--ease-premium) infinite;
}

/* ==========================================================================
   CLIENTS & MARKETS QUICK NAVIGATION
   Sticky horizontal link bar with rounded active state pills.
   ========================================================================== */
.clients-quicknav-wrap {
  position: sticky;
  top: 76px;
  z-index: 80;
  background: rgba(251, 250, 247, 0.82);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.clients-quicknav {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.clients-quicknav::-webkit-scrollbar {
  display: none;
}
.clients-quicknav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 12px 17px;
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: rgba(17, 17, 17, 0.72);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}
.clients-quicknav a:hover,
.clients-quicknav a.active {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* ==========================================================================
   CLIENTS OVERVIEW SECTION
   Core introduction copy area with a layout of global factory metrics.
   ========================================================================== */
.clients-overview,
.clients-section {
  position: relative;
  overflow: hidden;
  padding: 118px 0;
}
.clients-overview {
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(166, 138, 100, 0.16),
      transparent 28vw
    ),
    linear-gradient(180deg, var(--site-paper), #fff 72%);
}
.clients-overview::before {
  content: "";
  position: absolute;
  inset: 28px clamp(18px, 4vw, 70px);
  border: 1px solid rgba(17, 17, 17, 0.075);
  border-radius: 34px;
  pointer-events: none;
}
.clients-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(38px, 7vw, 105px);
  align-items: center;
}
.clients-subtitle {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.clients-title {
  font-size: clamp(2.45rem, 5.4vw, 5.25rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  color: var(--primary-color);
  margin: 0;
}
.clients-copy {
  color: var(--text-light);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.74;
  margin-top: 24px;
  max-width: 760px;
}
.clients-stat-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.clients-stat {
  min-height: 156px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  padding: 24px;
  box-shadow: 0 24px 70px -58px rgba(0, 0, 0, 0.55);
  transition:
    transform 0.62s var(--ease-premium),
    border-color 0.62s var(--ease-premium),
    box-shadow 0.62s var(--ease-premium);
}
.clients-stat:hover {
  transform: translateY(-8px);
  border-color: rgba(166, 138, 100, 0.34);
  box-shadow: var(--site-shadow);
}
.clients-stat strong {
  display: block;
  color: var(--accent-color);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.07em;
}
.clients-stat span {
  display: block;
  margin-top: 14px;
  color: var(--text-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.45;
}

.clients-section::before {
  content: attr(data-section-label);
  position: absolute;
  top: 34px;
  right: clamp(20px, 5vw, 74px);
  font-weight: 800;
  font-size: clamp(4.5rem, 11vw, 10rem);
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(17, 17, 17, 0.035);
  pointer-events: none;
}
.clients-section-header {
  max-width: 980px;
  margin-bottom: 58px;
}
/* ==========================================================================
   BUYER ECOSYSTEM CARDS
   Grid cards showcasing target segments like Department Stores and Brands.
   ========================================================================== */
.buyer-ecosystem {
  background: linear-gradient(180deg, #fff, var(--site-paper));
}
.buyer-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(390px, auto);
  gap: clamp(18px, 1.7vw, 28px);
}
.buyer-card {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  grid-column: span 3;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 26px;
  padding: 30px;
  background: linear-gradient(145deg, #fff, #f4f1eb);
  box-shadow: 0 24px 74px -58px rgba(0, 0, 0, 0.54);
  transition:
    transform 0.65s var(--ease-premium),
    box-shadow 0.65s var(--ease-premium),
    border-color 0.65s var(--ease-premium);
  isolation: isolate;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.buyer-feature,
.buyer-wide {
  grid-column: span 6;
}
.buyer-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scale(0.94);
  clip-path: inset(18% 18% 18% 18% round 24px);
  transition:
    opacity 0.78s var(--ease-premium),
    transform 0.9s var(--ease-premium),
    clip-path 0.9s var(--ease-premium);
}
.buyer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12) translateY(14px);
  filter: saturate(1.02) contrast(1.08) brightness(0.62);
  transition: transform 1.15s var(--ease-premium);
}
.buyer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.82) 46%,
      rgba(0, 0, 0, 0.48) 100%
    ),
    radial-gradient(
      circle at var(--mx) var(--my),
      rgba(166, 138, 100, 0.3),
      transparent 36%
    );
  transition: opacity 0.72s var(--ease-premium);
}
.buyer-card:hover,
.buyer-card:focus-visible {
  transform: translateY(-10px);
  border-color: rgba(166, 138, 100, 0.34);
  box-shadow: var(--site-shadow);
  outline: none;
}
.buyer-card:hover .buyer-image,
.buyer-card:focus-visible .buyer-image {
  opacity: 1;
  transform: scale(1);
  clip-path: inset(0 0 0 0 round 26px);
}
.buyer-card:hover .buyer-image img,
.buyer-card:focus-visible .buyer-image img {
  transform: scale(1.02) translateY(0);
}
.buyer-card:hover::before,
.buyer-card:focus-visible::before {
  opacity: 1;
}
.buyer-card span,
.buyer-card i,
.buyer-card h3,
.buyer-card p {
  position: relative;
  z-index: 2;
  transition:
    color 0.45s ease,
    text-shadow 0.45s ease,
    transform 0.62s var(--ease-premium);
}
.buyer-card span {
  position: absolute;
  right: 24px;
  top: 20px;
  color: rgba(17, 17, 17, 0.08);
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.08em;
}
.buyer-card i {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(166, 138, 100, 0.14);
  color: var(--accent-color);
  font-size: 26px;
  margin-bottom: 26px;
}
.buyer-card h3 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.035em;
  color: var(--primary-color);
}
.buyer-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}
.buyer-card:hover span {
  color: rgba(255, 255, 255, 0.18);
}
.buyer-card:hover i {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-5px) scale(1.04);
}
.buyer-card:hover h3,
.buyer-card:focus-visible h3 {
  color: #fff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.95);
}
.buyer-card:hover p,
.buyer-card:focus-visible p {
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.95);
}

/* ==========================================================================
   GLOBAL MARKETS RUNWAY
   Cinematic layout displaying regions and delivery statistics.
   ========================================================================== */
.market-runway-section {
  color: var(--white);
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(166, 138, 100, 0.24),
      transparent 27vw
    ),
    linear-gradient(135deg, rgba(8,8,8,0.55) 0%, rgba(21,21,21,0.50) 48%, rgba(5,5,5,0.58) 100%),
    url("../media/img/clients_and_markets/MAP.jpg") center / cover no-repeat;
}
.market-runway-section::before {
  color: rgba(255, 255, 255, 0.06);
}
.market-runway-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.55fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
}
.market-runway-section .clients-title {
  color: var(--white);
}
.market-runway-section .clients-copy {
  color: rgba(255, 255, 255, 0.72);
}
.market-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
  backdrop-filter: blur(16px);
}
.market-note i {
  color: var(--accent-color);
  font-size: 22px;
}
.market-runway {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: 0 42px 120px -72px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.market-runway::before {
  content: "";
  position: absolute;
  inset: -45% auto -45% -20%;
  width: 38%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.11),
    transparent
  );
  transform: rotate(12deg);
  animation: clientsRunwaySweep 5.8s var(--ease-premium) infinite;
}
.market-line {
  position: absolute;
  left: 65px;
  top: 46px;
  bottom: 85px; /* line length */
  width: 2px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}
.market-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--accent-color),
    transparent
  );
  transform: translateY(-100%);
  animation: clientsRunwayPulse 4.2s linear infinite;
}
.market-step {
  --mx: 50%;
  --my: 50%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 108px;
  padding: 18px 22px 18px 80px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(4px);
  transition:
    transform 0.62s var(--ease-premium),
    background 0.62s var(--ease-premium),
    border-color 0.62s var(--ease-premium),
    box-shadow 0.62s var(--ease-premium);
}
.market-step::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 30px;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111;
  border: 2px solid var(--accent-color);
  box-shadow: 0 0 0 8px rgba(166, 138, 100, 0.1);
  transform: translateY(-50%);
}
.market-step:hover {
  transform: translateX(14px) scale(1.015);
  border-color: rgba(166, 138, 100, 0.42);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 22px 70px -52px rgba(166, 138, 100, 0.65);
}
.market-step strong {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(166, 138, 100, 0.16);
  color: var(--accent-color);
  font-size: 18px;
  transition:
    background 0.45s ease,
    color 0.45s ease,
    transform 0.45s var(--ease-premium);
}
.market-step:hover strong {
  background: var(--accent-color);
  color: #111;
  transform: rotate(-6deg) scale(1.06);
}
.market-step h3 {
  color: var(--white);
  margin: 0 0 7px;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  letter-spacing: -0.02em;
}
.market-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  font-size: 14px;
}

.market-compliance-note {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 600;
}
.market-compliance-note i {
  color: var(--accent-color);
  font-size: 18px;
  line-height: 1.3;
  flex: 0 0 auto;
}


/* ==========================================================================
   CLIENT SUCCESS ORBIT
   Decorative grid cards representing customer achievements and partnerships.
   ========================================================================== */
.client-success {
  background: linear-gradient(180deg, #fff, var(--site-paper));
}
.success-orbit {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  background:
    repeating-radial-gradient(
      circle,
      rgba(17, 17, 17, 0.085) 0 1px,
      transparent 1px 74px
    ),
    radial-gradient(
      circle,
      rgba(166, 138, 100, 0.12),
      rgba(255, 255, 255, 0.85) 56%,
      transparent 57%
    );
  overflow: hidden;
}
.success-orbit::before,
.success-orbit::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(166, 138, 100, 0.42);
  animation: clientsOrbitSpin 24s linear infinite;
}
.success-orbit::after {
  inset: 27%;
  animation-duration: 16s;
  animation-direction: reverse;
  border-color: rgba(17, 17, 17, 0.16);
}
.success-core {
  position: relative;
  z-index: 2;
  width: 176px;
  height: 176px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(145deg, #111, #252525);
  box-shadow: 0 30px 70px -32px rgba(0, 0, 0, 0.7);
  text-align: center;
}
.success-core span,
.success-core small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.72;
}
.success-core strong {
  color: var(--accent-color);
  font-size: 54px;
  letter-spacing: -0.08em;
  line-height: 1.05;
}
.success-pill {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 15px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px -34px rgba(0, 0, 0, 0.55);
  color: var(--primary-color);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  animation: none;
  opacity: 0;
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-premium);
  white-space: nowrap;
}
.success-pill.reveal {
  opacity: 0;
  transform: translate(-50%, -50%) translateY(30px);
}
.success-pill.reveal.active {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
  animation: clientsFloat 4.8s var(--ease-premium) infinite;
}
.success-pill i {
  color: var(--accent-color);
  font-size: 16px;
}
.pill-1 {
  top: 12%;
  left: 50%;
}
.pill-2 {
  top: 38.2%;
  left: 86.1%;
  animation-delay: 0.3s;
}
.pill-3 {
  top: 80.7%;
  left: 72.3%;
  animation-delay: 0.6s;
}
.pill-4 {
  top: 80.7%;
  left: 27.7%;
  animation-delay: 0.6s;
}
.pill-5 {
  top: 38.2%;
  left: 13.9%;
  animation-delay: 0.3s;
}

/* ==========================================================================
   CLIENTS SCALE & COMPLIANCE
   Details outlining certifications, safety metrics, and quality limits.
   ========================================================================== */
.clients-scale {
  background: linear-gradient(180deg, #fff, var(--site-paper));
}
.scale-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
}
.scale-total {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 22px;
  border-radius: 22px;
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  box-shadow: var(--site-shadow);
}
.scale-total strong {
  color: var(--accent-color);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.scale-total span {
  line-height: 1.55;
}
.scale-capabilities {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 28px 80px -60px rgba(0, 0, 0, 0.52);
}
.scale-capabilities div {
  --mx: 50%;
  --my: 50%;
  position: relative;
  overflow: hidden;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(17, 17, 17, 0.045);
  transition:
    transform 0.55s var(--ease-premium),
    background 0.55s var(--ease-premium);
}
.scale-capabilities div::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(
    circle at var(--mx) var(--my),
    rgba(166, 138, 100, 0.28),
    transparent 34%
  );
  transition: opacity 0.45s ease;
}
.scale-capabilities div:hover {
  transform: translateX(8px);
  background: rgba(166, 138, 100, 0.1);
}
.scale-capabilities div:hover::before {
  opacity: 1;
}
.scale-capabilities span,
.scale-capabilities strong {
  position: relative;
  z-index: 1;
}
.scale-capabilities span {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
.scale-capabilities strong {
  color: var(--accent-color);
  font-size: 1.35rem;
}
.scale-compliance {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.scale-compliance span {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.09);
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ==========================================================================
   CLIENTS CTA SECTION
   Footer conversion banner linking clients back to the inquiry form.
   ========================================================================== */
.clients-final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(
      circle at 20% 20%,
      rgba(166, 138, 100, 0.28),
      transparent 28vw
    ),
    linear-gradient(135deg, #111, #1e1e1e 55%, #0a0a0a);
  color: var(--white);
  padding: 135px 0;
}
.clients-final-cta::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 32px;
  pointer-events: none;
}
.clients-final-cta .container {
  position: relative;
  z-index: 1;
}
.clients-final-cta .section-title {
  color: var(--white);
}
.clients-final-cta p {
  max-width: 680px;
  margin: 0 auto 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 20px;
  line-height: 1.7;
}
.clients-final-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}
.clients-final-cta .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

@keyframes clientsLineDrift {
  0%,
  100% {
    transform: scaleY(0.45);
    transform-origin: top;
    opacity: 0.45;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}
@keyframes clientsRunwaySweep {
  0%,
  22% {
    transform: translateX(-80%) rotate(12deg);
    opacity: 0;
  }
  42% {
    opacity: 1;
  }
  78%,
  100% {
    transform: translateX(420%) rotate(12deg);
    opacity: 0;
  }
}
@keyframes clientsRunwayPulse {
  to {
    transform: translateY(100%);
  }
}
@keyframes clientsOrbitSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes clientsFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }
  50% {
    transform: translate(-50%, -50%) translateY(-9px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-scroll-cue::after,
  .market-runway::before,
  .market-line::after,
  .success-orbit::before,
  .success-orbit::after,
  .success-pill {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .clients-hero-content,
  .clients-overview-grid,
  .market-runway-grid,
  .scale-grid {
    grid-template-columns: 1fr;
  }
  .clients-hero-card {
    justify-self: start;
  }
  .buyer-card,
  .buyer-feature,
  .buyer-wide {
    grid-column: span 6;
  }
}

@media (max-width: 900px) {
  .clients-hero {
    height: auto;
    min-height: 560px;
    padding: 120px 0 60px;
  }
  .clients-hero-content {
    padding-top: 0;
  }
  .clients-overview,
  .clients-section {
    padding: 92px 0;
  }
  .clients-stat-board {
    grid-template-columns: 1fr;
  }
  .success-orbit {
    min-height: 650px;
  }
  .success-pill {
    position: relative;
    inset: auto !important;
    margin: 7px;
    animation: none;
    transform: none !important;
    opacity: 1 !important;
  }
  .success-orbit {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    gap: 10px;
    padding: 34px 18px;
  }
  .success-core {
    flex: 0 0 176px;
    margin: 18px;
  }
}

@media (max-width: 680px) {
  .clients-quicknav {
    padding: 12px 20px;
  }
  .clients-quicknav-wrap {
    top: 74px;
  }
  .clients-hero {
    min-height: 500px;
    padding-top: 105px;
    padding-bottom: 50px;
  }
  .clients-hero-title {
    font-size: clamp(2.25rem, 10.5vw, 3.55rem) !important;
  }
  .clients-hero-card {
    padding: 20px;
  }
  .buyer-grid {
    grid-auto-rows: auto;
  }
  .buyer-card,
  .buyer-feature,
  .buyer-wide {
    grid-column: 1 / -1;
    min-height: 350px;
  }
  .market-runway {
    padding: 16px;
    border-radius: 24px;
  }
  .market-line {
    left: 42px;
  }
  .market-step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 20px 22px 70px;
    align-items: start;
  }
  .market-step::before {
    left: 18px;
    top: 35px;
  }
  .market-step strong {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }
  .scale-total {
    align-items: flex-start;
    flex-direction: column;
  }
  .scale-capabilities {
    padding: 18px;
    border-radius: 22px;
  }
  .scale-capabilities div {
    align-items: flex-start;
    flex-direction: column;
  }
  .clients-final-cta {
    padding: 96px 0;
  }
  .clients-final-cta::before {
    inset: 14px;
    border-radius: 22px;
  }
}

/* Clients & Markets fixes: prevent market title clipping and make buyer cards fill desktop rows. */
.market-runway-section .clients-title {
  overflow: visible !important;
  line-height: 1.05 !important;
  padding-bottom: 0.08em;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.market-title-word {
  display: inline-block;
  white-space: nowrap;
}

@media (min-width: 1181px) {
  .buyer-ecosystem .container {
    max-width: min(1560px, calc(100% - 64px));
  }

  .buyer-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
  }

  .buyer-card {
    grid-column: span 3;
    height: 100%;
  }

  .buyer-card.buyer-feature {
    grid-column: span 6;
  }

  .buyer-card:nth-child(4),
  .buyer-card.buyer-wide {
    grid-column: span 6;
  }
}

/* Strong fix: keep “Manufacturing” fully visible in the Global Markets heading. */
.market-runway-section .market-copy {
  min-width: 0;
  overflow: visible !important;
}

.market-runway-section .clients-title {
  font-size: clamp(2.15rem, 3.15vw, 3.55rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.04em;
  max-width: 100%;
  overflow: visible !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.market-runway-section .market-title-word {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
  overflow: visible !important;
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .market-runway-section .clients-title {
    font-size: clamp(2rem, 2.75vw, 3rem) !important;
    letter-spacing: -0.035em;
  }
}

@media (max-width: 680px) {
  .market-runway-section .clients-title {
    font-size: clamp(2rem, 9vw, 2.9rem) !important;
    line-height: 1.08 !important;
  }
}

/* Clients & Markets Hero Feature
   Removes the bottom gradient fade/shadow below the clients hero while keeping
   the hero overlay, grid texture, content layout, and all animations intact. */
.clients-page .clients-hero::after {
  display: none !important;
  height: 0 !important;
  background: none !important;
}

/* Clients Overview Section
   Removes only the large outer border frame from the "From Dhaka to Global Fashion Calendars" section. */
.clients-overview::before {
  display: none !important;
}

