/* ============================================================
   Baba Infotech & General Traders — design tokens
   Palette: paper #FCFCFB · ink #101318 · navy #0A1929
            navy-2 #112B42 · mist #E9EFF4 · brand blue #27A9E1
   Type:    Newsreader (display serif) · Inter Tight (body/UI)
   ============================================================ */

:root {
  --paper: #fcfcfb;
  --ink: #101318;
  --navy: #0a1929;
  --navy-2: #112b42;
  --mist: #e9eff4;
  --mist-deep: #dde7ee;
  --blue: #27a9e1;
  --blue-deep: #0b76b8;
  --muted: #5c6670;
  --muted-on-dark: #7e93a8;
  --line: #e3e6e8;
  --line-on-dark: #24384d;

  --font-display: "Newsreader", "Times New Roman", serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(20px, 5vw, 72px);
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

[id] { scroll-margin-top: 88px; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--blue-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- shared primitives ---------- */

.section {
  padding: clamp(72px, 10vw, 128px) var(--pad-x);
  max-width: 1360px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow--center { text-align: center; }

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.h2-muted { color: #9aa6b0; }

.lede {
  color: var(--muted);
  max-width: 44ch;
  margin: 18px 0 28px;
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 7px;
  border: 1px solid transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.btn--dark {
  background: var(--navy);
  color: #fff;
}
.btn--dark:hover { background: var(--navy-2); }
.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover { background: var(--mist); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 252, 251, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav__mark { height: 30px; width: auto; }
.nav__name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav__name-sub {
  font-weight: 400;
  color: var(--muted);
}

.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
  transition: color 140ms ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  align-items: center;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 160ms ease;
}
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile {
  border-top: 1px solid var(--line);
  padding: 18px var(--pad-x) 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--paper);
}
.nav__mobile a {
  text-decoration: none;
  font-size: 16px;
  padding: 10px 0;
}
.nav__mobile .btn { margin-top: 12px; text-align: center; }
.nav__mobile[hidden] { display: none; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 70% 10%, #12293e 0%, var(--navy) 55%);
  color: #fff;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--pad-x) 90px;
  overflow: hidden;
}

.hero__ghost {
  position: absolute;
  right: -6%;
  bottom: -22%;
  width: clamp(320px, 42vw, 640px);
  aspect-ratio: 366 / 476;
  background-image: url("../assets/mark-white.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.hero__inner { position: relative; max-width: 1160px; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 40px;
}

.hero__foot {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-on-dark);
}

/* ---------- partner strip ---------- */

.partner {
  padding: clamp(72px, 9vw, 120px) var(--pad-x);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.partner__badge {
  width: min(340px, 78vw);
  height: auto;
  margin: 8px auto 28px;
}
.partner__copy {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
}
.partner__copy strong { color: var(--ink); font-weight: 600; }

/* ---------- statement ---------- */

.statement {
  background: var(--navy);
  padding: clamp(96px, 13vw, 180px) var(--pad-x);
}
.statement__text {
  max-width: 1120px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px);
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: #f4f7f9;
}
.statement__text .w {
  opacity: 0.22;
  transition: opacity 400ms ease;
}
.statement__text .w.lit { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .statement__text .w { opacity: 1; transition: none; }
}

/* ---------- what we do (split) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.split .h2 { margin-bottom: 0; }

.steps {
  list-style: none;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.steps__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.steps__item p { max-width: 56ch; }
.steps__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- full stack / diagram ---------- */

.stack { background: var(--mist); }
.stack__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(72px, 10vw, 128px) var(--pad-x);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.stack__left .h2 { margin-bottom: 28px; }

.stack__points { margin-top: 48px; }
.stack__point {
  border-top: 1px solid #c9d4dc;
  padding: 20px 0;
}
.stack__point h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.stack__point p { color: var(--muted); max-width: 52ch; }

.stack__diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  position: relative;
  min-height: 520px;
}

.diagram__cell {
  background: #f7fafc;
  border: 1px solid #cfdae2;
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.diagram__cell h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.diagram__cell ul {
  list-style: none;
  margin-top: 16px;
  text-align: left;
  max-width: 62%;
}
.diagram__cell li {
  font-size: 13px;
  color: var(--muted);
  padding: 3px 0;
}
.diagram__cell--tl h4, .diagram__cell--bl h4 { text-align: left; }
.diagram__cell--tr h4, .diagram__cell--br h4 { text-align: right; }
.diagram__cell--tr ul, .diagram__cell--br ul { text-align: right; margin-left: auto; }

.diagram__center {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(150px, 16vw, 184px);
  height: clamp(150px, 16vw, 184px);
  aspect-ratio: 1;
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 0 0 8px var(--mist);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}
.diagram__label {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.diagram__mark { height: 64px; width: auto; }

/* ---------- sectors ---------- */

.sectors__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sectors__intro { color: var(--muted); max-width: 52ch; }

.sectors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.sector-card {
  border-radius: var(--radius);
  background:
    linear-gradient(155deg, rgba(39, 169, 225, 0.14), rgba(39, 169, 225, 0) 55%),
    var(--navy);
  color: #fff;
  min-height: 300px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}
.sector-card--alt {
  background:
    linear-gradient(155deg, rgba(39, 169, 225, 0.1), rgba(39, 169, 225, 0) 55%),
    var(--navy-2);
}
.sector-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(215deg, rgba(0,0,0,0.9), transparent 55%);
  -webkit-mask-image: linear-gradient(215deg, rgba(0,0,0,0.9), transparent 55%);
  pointer-events: none;
}
.sector-card__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.sector-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.25;
  max-width: 24ch;
}

/* ---------- brand marquee ---------- */

.brandbar {
  padding: clamp(40px, 6vw, 68px) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.brandbar__lead {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 30px;
  padding: 0 var(--pad-x);
}
.brandbar__marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.brandbar__track {
  display: flex;
  width: max-content;
  animation: brand-marquee 46s linear infinite;
}
.brandbar:hover .brandbar__track { animation-play-state: paused; }
.brandbar__group {
  display: flex;
  align-items: center;
  gap: clamp(38px, 5vw, 66px);
  padding-right: clamp(38px, 5vw, 66px);
}
.brandbar__group img {
  height: 26px;
  width: auto;
  max-width: none;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.5;
}
@keyframes brand-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brandbar__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
    gap: clamp(28px, 4vw, 48px);
    padding: 0 var(--pad-x);
  }
  .brandbar__group { display: contents; }
  .brandbar__group[aria-hidden="true"] { display: none; }
}

/* ---------- trust / stats ---------- */

.trust { text-align: center; }
.trust__title {
  max-width: 20ch;
  margin: 16px auto clamp(40px, 5vw, 56px);
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 840px;
  margin: 10px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: clamp(28px, 4vw, 40px) 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.stat__label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}

.trust__intro {
  max-width: 58ch;
  margin: clamp(40px, 5vw, 60px) auto 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.clientwall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: center;
  gap: clamp(22px, 3.4vw, 44px) clamp(18px, 3vw, 40px);
  max-width: 1000px;
  margin: 0 auto;
}
.clientwall img {
  width: 100%;
  height: 46px;
  object-fit: contain;
  margin: 0 auto;
  filter: grayscale(1);
  opacity: 0.6;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.clientwall img:hover {
  filter: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .clientwall img { transition: none; }
}

/* ---------- what we supply ---------- */

.supply__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.supply__intro { color: var(--muted); max-width: 52ch; }

.supply__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.product:hover {
  border-color: #cdd6dd;
  box-shadow: 0 10px 30px -18px rgba(10, 25, 41, 0.35);
}

.product__icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.product__icon svg { width: 22px; height: 22px; }

.product h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
}
.product p { color: var(--muted); font-size: 14px; }

.product__meta {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.product--cta {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  justify-content: center;
}
.product--cta h3 { color: #fff; }
.product--cta p { color: var(--muted-on-dark); }
.product__link {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}
.product__link:hover { text-decoration: underline; }

/* ---------- how we work ---------- */

.how__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.how__intro { color: var(--muted); max-width: 52ch; }

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.how-card {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
}
.how-card--brand {
  background:
    radial-gradient(130% 110% at 20% 0%, #143452 0%, var(--navy) 60%);
  align-items: center;
  justify-content: center;
}
.how-card__mark { height: 84px; width: auto; }

.how-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.how-card__icon svg { width: 17px; height: 17px; }

.how-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 8px;
}
.how-card p { color: var(--muted); font-size: 14px; }

/* ---------- cta ---------- */

.cta {
  background: var(--mist);
  width: min(1360px, calc(100% - 2 * clamp(16px, 3vw, 40px)));
  margin: 0 auto clamp(72px, 9vw, 110px);
  border-radius: var(--radius);
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  text-align: center;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.cta__sub {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 7vw, 88px) var(--pad-x) 40px;
  max-width: 1360px;
  margin: 0 auto;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 56px;
}

.footer__logo { width: min(240px, 60vw); height: auto; }
.footer__tagline {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.footer__col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  text-decoration: none;
  font-size: 14px;
  padding: 5px 0;
  color: var(--ink);
}
.footer__col a:hover { color: var(--blue-deep); }

.footer__col--address p {
  font-size: 14px;
  padding: 5px 0;
  color: var(--ink);
}
.footer__col--address span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.footer__base {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__base p { font-size: 13px; color: var(--muted); }
.footer__badge { width: 150px; height: auto; }

/* ---------- active nav ---------- */

.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 500; }

/* ---------- page hero (sub-pages) ---------- */

.page-hero {
  padding: clamp(56px, 8vw, 104px) var(--pad-x) clamp(36px, 5vw, 64px);
  max-width: 1360px;
  margin: 0 auto;
}
.page-hero__inner { max-width: 920px; }
.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 74px);
  line-height: 1.03;
  letter-spacing: -0.015em;
  margin: 8px 0 26px;
}
.page-hero__lede {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.62;
  max-width: 60ch;
}

/* ---------- prose ---------- */

.prose p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  max-width: 62ch;
}
.prose p + p { margin-top: 20px; }

/* ---------- about: the two arms ---------- */

.arms__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.arm {
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 46px);
  background: var(--mist);
}
.arm--alt { background: var(--navy); color: #fff; }
.arm__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-deep);
}
.arm--alt .arm__label { color: var(--blue); }
.arm h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(23px, 2.4vw, 30px);
  margin: 14px 0 12px;
}
.arm p { color: var(--muted); max-width: 46ch; }
.arm--alt p { color: var(--muted-on-dark); }

/* ---------- about: locations ---------- */

.locations__head { margin-bottom: clamp(28px, 4vw, 48px); }
.locations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.location {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.location__tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.location__addr {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
}
.location__link { text-decoration: none; color: var(--ink); }
.location__link:hover { color: var(--blue-deep); }
.location__email {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  color: var(--blue-deep);
}
.location--contact .product__link { margin-top: 16px; }

/* ---------- contact page ---------- */

.contact__head { max-width: 920px; }
.contact__title { margin: 8px 0 24px; }

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(40px, 5vw, 64px);
}

.form > * + * { margin-top: 18px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}
.req { color: var(--blue-deep); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--input);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(39, 169, 225, 0.16);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: #d14343; }

.form__submit { margin-top: 26px; cursor: pointer; }
.form__note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form__note a { color: var(--blue-deep); }
.form__note.is-error { color: #b42318; }
.form__note.is-ok { color: #027a48; }

.contact__aside {
  background: var(--mist);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact__blocktitle {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 10px;
}
.contact__email {
  font-size: 16px;
  color: var(--blue-deep);
  text-decoration: none;
  word-break: break-word;
}
.contact__email:hover { text-decoration: underline; }
.contact__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.contact__addr { font-size: 15px; }
.contact__phone {
  display: block;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
}
.contact__phone + .contact__phone { margin-top: 4px; }
.contact__phone:hover { color: var(--blue-deep); }
.contact__block--badge {
  border-top: 1px solid var(--mist-deep);
  padding-top: 24px;
}
.contact__block--badge img { width: 200px; height: auto; }

/* ---------- client band (about) ---------- */

.clientband { text-align: center; }
.clientband__head { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.clientband__head .h2 { margin: 14px 0 18px; }
.clientband__intro {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto;
}
.clientband__more { margin-top: clamp(32px, 4vw, 48px); }

/* ---------- clients page ---------- */

.clients-wall-sec { padding-top: 0; }

.cgroups-sec__head { margin-bottom: clamp(32px, 4vw, 52px); }
.cgroups {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.cgroup {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3vw, 38px);
}
.cgroup h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 2.2vw, 27px);
  line-height: 1.2;
}
.cgroup__count {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin: 10px 0 22px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 13px;
  line-height: 1.3;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3f4a54;
  background: var(--paper);
}
.cgroups-sec__more {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1024px) {
  .how__grid { grid-template-columns: 1fr 1fr; }
  .how-card--brand { min-height: 200px; }
  .supply__grid { grid-template-columns: 1fr 1fr; }
  .clientwall { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }

  .split,
  .stack__inner,
  .footer__inner { grid-template-columns: 1fr; }

  .sectors__head,
  .supply__head,
  .how__head { grid-template-columns: 1fr; align-items: start; }

  .sectors__grid { grid-template-columns: 1fr; }
  .sector-card { min-height: 220px; }
  .clientwall { grid-template-columns: repeat(3, 1fr); }

  .arms__grid { grid-template-columns: 1fr; }
  .locations__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .cgroups { grid-template-columns: 1fr; }

  .stack__diagram { min-height: 0; gap: 12px; grid-template-rows: auto auto auto; }
  .diagram__center {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 22px;
    flex-direction: row;
    box-shadow: none;
  }
  .diagram__mark { height: 40px; }
  .diagram__cell ul { margin-top: 12px; max-width: none; }
  .diagram__cell--tl, .diagram__cell--tr { grid-row: 1; }
  .diagram__cell--bl, .diagram__cell--br { grid-row: 3; }

  .hero { min-height: 76vh; }
  .hero__ghost { right: -18%; bottom: -12%; }
  .hero__foot { font-size: 10px; letter-spacing: 0.1em; padding: 0 16px; }
}

@media (max-width: 560px) {
  .how__grid { grid-template-columns: 1fr; }
  .supply__grid { grid-template-columns: 1fr; }
  .how-card { min-height: 0; }
  .how-card--brand { min-height: 160px; }
  .steps__item { gap: 18px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .nav__name-sub { display: none; }
  .form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   Ported pages: services, stock, responsibility, privacy
   ============================================================ */

/* ---------- whatsapp float ---------- */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #1fb355;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 24px -8px rgba(10, 25, 41, 0.45);
  transition: background-color 160ms ease, transform 160ms ease;
}
.wa-float:hover { background: #17984706; background-color: #189447; transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; }
@media (max-width: 560px) {
  .wa-float { padding: 13px; }
  .wa-float__txt { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float { transition: none; }
}

/* ---------- footer social ---------- */

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer__social a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 0;
}
.footer__social a:hover { color: var(--blue-deep); border-color: var(--blue-deep); }
.footer__social svg { width: 17px; height: 17px; }

/* ---------- services page ---------- */

.service-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.service-jump a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.service-jump a:hover { border-color: var(--navy); background: var(--mist); }

.service {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  border-top: 1px solid var(--line);
}
.service--flip .service__intro { order: 2; }
.service--flip .checklist { order: 1; }

.service__icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.service__icon svg { width: 26px; height: 26px; }
.service .h2 { margin-bottom: 18px; }
.service__lede { color: var(--muted); max-width: 48ch; margin-bottom: 20px; }
.service__builton {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 28px;
}
.service__builton span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--blue-deep);
}

.checklist { list-style: none; border-top: 1px solid var(--line); }
.checklist li {
  position: relative;
  padding: 18px 0 18px 34px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  max-width: 60ch;
}
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mist);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230b76b8' stroke-width='2.2'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.process-sec__head {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.process-sec__intro { color: var(--muted); max-width: 52ch; }

.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  counter-reset: step;
}
.process__step {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
}
.process__num {
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
  margin-bottom: auto;
}
.process__step h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 18px 0 6px;
}
.process__step p { font-size: 13px; color: var(--muted); }

/* ---------- stock page ---------- */

.stock-pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 18px;
}
.stock-pulse i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1fb355;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31, 179, 85, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(31, 179, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 179, 85, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .stock-pulse i { animation: none; }
}

.featured {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured__top {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  align-items: center;
}
.featured__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 16px;
}
.featured__top h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  margin-bottom: 14px;
}
.featured__sub { color: var(--muted); max-width: 56ch; margin-bottom: 26px; }
.featured__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--wa {
  background: #1fb355;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn--wa:hover { background: #189447; }
.btn--wa svg { width: 17px; height: 17px; }
.featured__img img { border-radius: var(--radius); }

.featured__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.fspec { padding: 20px 24px; }
.fspec + .fspec { border-left: 1px solid var(--line); }
.fspec b { display: block; font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.fspec span { font-size: 13px; color: var(--muted); line-height: 1.45; }

.featured__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--mist);
}
.fperk {
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #3f4a54;
}

.featured__details { border-top: 1px solid var(--line); }
.featured__details summary {
  cursor: pointer;
  padding: 18px clamp(28px, 4vw, 48px);
  font-size: 14px;
  font-weight: 500;
  color: var(--blue-deep);
}
.featured__details summary:hover { background: var(--mist); }
.featured__details table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.featured__details td {
  padding: 12px clamp(28px, 4vw, 48px);
  border-top: 1px solid var(--line);
  vertical-align: top;
  color: var(--muted);
}
.featured__details td:first-child {
  width: 160px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.stockbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.stockbar__tabs { display: flex; gap: 6px; }
.tabbtn {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.tabbtn.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.stockbar__search {
  flex: 1;
  min-width: 200px;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 10px 16px;
  border: 1px solid var(--input);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
}
.stockbar__search:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(39, 169, 225, 0.16);
}
.stockbar__count { font-size: 13px; color: var(--muted); white-space: nowrap; }

.catchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.catchip {
  font-family: var(--font-body);
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: #3f4a54;
  cursor: pointer;
}
.catchip.on { border-color: var(--blue-deep); color: var(--blue-deep); background: #eaf4fb; }

.stockgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.icard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.icard__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.icard__cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.icard__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #157a3d;
  white-space: nowrap;
}
.icard__stock::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1fb355;
}
.icard h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 12px;
}
.icard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.icard__chips span {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mist);
  color: #3f4a54;
}
.icard__btns { margin-top: auto; display: flex; gap: 8px; }
.icard__btns .btn { font-size: 13px; padding: 9px 14px; }
.noresults {
  text-align: center;
  color: var(--muted);
  padding: 48px 0;
  display: none;
}

/* ---------- responsibility page ---------- */

.rgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.rcard {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
}
.rcard h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 10px;
}
.rcard p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.commitment {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
}
.commitment .eyebrow { color: var(--blue); }
.commitment h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 20px;
}
.commitment p {
  color: var(--muted-on-dark);
  font-size: 15px;
  line-height: 1.7;
  max-width: 78ch;
}
.commitment p + p { margin-top: 14px; }
.commitment a { color: var(--blue); }

/* ---------- privacy / prose page ---------- */

.prose-page { max-width: 760px; }
.prose-page h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin: 40px 0 12px;
}
.prose-page p, .prose-page li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.prose-page p + p { margin-top: 12px; }
.prose-page ul { padding-left: 22px; margin: 12px 0; }
.prose-page li + li { margin-top: 8px; }
.prose-page strong { color: var(--ink); }
.prose-page .updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* ---------- ported pages responsive ---------- */

@media (max-width: 1024px) {
  .stockgrid { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .featured__specs { grid-template-columns: 1fr 1fr; }
  .fspec:nth-child(3) { border-left: none; }
  .fspec:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; }
  .service--flip .service__intro { order: 1; }
  .service--flip .checklist { order: 2; }
  .process-sec__head { grid-template-columns: 1fr; align-items: start; }
  .featured__top { grid-template-columns: 1fr; }
  .featured__img { order: -1; }
  .featured__img img { max-width: 320px; margin: 0 auto; }
  .rgrid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .stockgrid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .process__step { min-height: 0; }
  .featured__specs { grid-template-columns: 1fr; }
  .fspec + .fspec { border-left: none; }
  .featured__details td:first-child { width: 110px; white-space: normal; }
}

/* ============================================================
   Brand lockup — B mark + typographic company name
   ============================================================ */

.nav__mark { height: 34px; }

.brandname {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brandname__main {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.brandname__baba { color: var(--blue-deep); }
.brandname__sub {
  margin-top: 4px;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.footer__lockup {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}
.footer__lockup-mark { height: 46px; width: auto; }
.footer__lockup .brandname__main { font-size: 19px; }
.footer__lockup .brandname__sub { font-size: 10px; margin-top: 5px; }
.footer__tagline { margin-top: 18px; }

@media (max-width: 560px) {
  .brandname__main { font-size: 13.5px; }
  .brandname__sub { font-size: 7.5px; }
  .nav__mark { height: 30px; }
}

/* ============================================================
   Client marquee — two rows, opposite directions (homepage)
   ============================================================ */

.clientmarq {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cm-row {
  display: flex;
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
  width: max-content;
  padding: 16px 0;
}
.cm-row--r1 { animation: cm-scroll 46s linear infinite; }
.cm-row--r2 { animation: cm-scroll 52s linear infinite reverse; }
.clientmarq:hover .cm-row { animation-play-state: paused; }
.cm-group {
  display: flex;
  align-items: center;
  gap: clamp(44px, 5vw, 72px);
  padding-right: clamp(44px, 5vw, 72px);
}
.cm-group img {
  height: 44px;
  width: auto;
  max-width: 150px;
  max-height: 44px;
  flex-shrink: 0;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.cm-group img:hover { filter: none; opacity: 1; }
@keyframes cm-scroll {
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .cm-group img { height: 34px; max-width: 116px; }
  .cm-row, .cm-group { gap: 36px; }
  .cm-group { padding-right: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .cm-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .cm-group { flex-wrap: wrap; justify-content: center; padding-right: 0; }
  .cm-group[aria-hidden="true"] { display: none; }
  .clientmarq { mask-image: none; -webkit-mask-image: none; }
}
