@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&family=Noto+Sans+Arabic:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;600&display=swap");

:root {
  color-scheme: dark;
  --ink: #f4f7fa;
  --muted: rgba(227, 236, 244, .68);
  --hairline: rgba(255, 255, 255, .16);
  --blue: #4ec6ff;
  --amber: #f1ad65;
  --panel: rgba(7, 20, 33, .58);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #06101c;
}

body {
  margin: 0;
  color: var(--ink);
  background: #06101c;
  font-family: "DM Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

html[lang="ar"] body {
  font-family: "Noto Sans Arabic", Arial, sans-serif;
}

html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC", "DM Sans", Arial, sans-serif;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  padding: 34px clamp(24px, 5.25vw, 92px) 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.hero__image,
.hero__wash,
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__image {
  z-index: -5;
  background:
    url("/assets/abc-fair-trade-multimodal-hero-v2.webp")
    56% 50% / cover no-repeat;
  transform: scale(1.025);
  animation: cinematic-drift 13s ease-in-out infinite alternate;
}

.hero__wash {
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(3, 11, 20, .98) 0%, rgba(4, 15, 27, .92) 27%, rgba(5, 16, 29, .55) 52%, rgba(4, 12, 22, .12) 75%),
    linear-gradient(0deg, rgba(3, 9, 16, .72) 0%, transparent 36%),
    radial-gradient(circle at 70% 42%, transparent 0%, rgba(3, 11, 20, .18) 46%, rgba(3, 11, 20, .68) 100%);
  overflow: hidden;
}

.hero__wash::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -24%;
  width: 18%;
  opacity: 0;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(116, 211, 255, .12), transparent);
  filter: blur(12px);
  animation: light-sweep 8s ease-in-out 1.3s infinite;
}

.hero__grain {
  z-index: -3;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.topbar,
.footer {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar {
  direction: ltr;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
}

.brand {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  animation: intro-down .8s cubic-bezier(.2, .7, .2, 1) both;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  transform: skewX(-8deg);
}

.brand__mark span {
  background: rgba(255, 255, 255, .9);
  border-radius: 1px;
}

.brand__mark span:nth-child(2) {
  background: var(--amber);
  transform: translateY(5px);
}

.brand__mark span:nth-child(3) {
  background: var(--blue);
  transform: translateY(10px);
}

.brand__wordmark {
  display: grid;
  line-height: 1;
  letter-spacing: .11em;
}

.brand__wordmark strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.brand__wordmark small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .48em;
}

.language-switcher {
  position: relative;
  display: grid;
  align-items: center;
}

.language-switcher select {
  min-width: 108px;
  height: 38px;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  outline: 0;
  padding: 0 34px 0 15px;
  color: rgba(244, 247, 250, .88);
  background: rgba(4, 15, 26, .54);
  backdrop-filter: blur(14px);
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.language-switcher select:hover {
  border-color: rgba(78, 198, 255, .62);
  background: rgba(7, 24, 39, .76);
}

.language-switcher select:focus-visible {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(78, 198, 255, .15);
}

.language-switcher svg {
  position: absolute;
  right: 13px;
  width: 14px;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.network-status {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(236, 244, 249, .75);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: intro-down .8s .12s cubic-bezier(.2, .7, .2, 1) both;
}

.network-status__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #66e3ba;
  box-shadow: 0 0 0 0 rgba(102, 227, 186, .45);
  animation: pulse 2.3s ease-out infinite;
}

.hero__content {
  z-index: 2;
  align-self: center;
  width: min(720px, 57vw);
  padding: clamp(54px, 8vh, 110px) 0 42px;
}

.eyebrow {
  margin: 0 0 24px;
  color: rgba(222, 235, 244, .66);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .21em;
  animation: intro-up .75s .15s cubic-bezier(.2, .75, .2, 1) both;
}

h1 {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(52px, 7.05vw, 114px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .89;
  text-wrap: balance;
}

h1 > span {
  display: inline-block;
}

h1 > span:first-child {
  animation: intro-up .85s .24s cubic-bezier(.15, .8, .25, 1) both;
}

h1 .headline__outline {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 247, 250, .76);
  animation: intro-up .85s .34s cubic-bezier(.15, .8, .25, 1) both, outline-breathe 4.8s 1.4s ease-in-out infinite;
}

.lead {
  max-width: 590px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.55;
  animation: intro-up .75s .43s cubic-bezier(.2, .75, .2, 1) both;
}

.capabilities {
  display: flex;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  animation: intro-up .75s .5s cubic-bezier(.2, .75, .2, 1) both;
}

.capabilities li {
  padding: 8px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: rgba(242, 247, 250, .76);
  background: rgba(4, 15, 26, .25);
  backdrop-filter: blur(9px);
  font-size: 11px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.inquiry {
  width: min(620px, 100%);
  margin-top: 38px;
  animation: intro-up .8s .57s cubic-bezier(.2, .75, .2, 1) both;
}

.inquiry__field {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto;
  align-items: stretch;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  background: var(--panel);
  box-shadow: 0 22px 80px rgba(0, 0, 0, .24);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.inquiry__field::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 18%, rgba(78, 198, 255, .28) 46%, rgba(241, 173, 101, .18) 54%, transparent 78%);
  transform: translateX(-110%);
  animation: form-shimmer 7s 2s ease-in-out infinite;
}

.inquiry input[type="email"] {
  position: relative;
  z-index: 1;
  min-width: 0;
  height: 54px;
  border: 0;
  outline: 0;
  padding: 0 18px;
  color: #fff;
  background: transparent;
  font-size: 15px;
}

.inquiry input[type="email"]::placeholder {
  color: rgba(230, 238, 244, .52);
}

.inquiry input[type="email"]:focus-visible {
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--blue);
}

.inquiry button {
  position: relative;
  z-index: 1;
  height: 54px;
  padding: 0 20px 0 23px;
  border: 0;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  color: #07121d;
  background: #f4f6f7;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: transform .2s ease, background-color .2s ease;
}

.inquiry button:hover {
  transform: translateY(-1px);
  background: #fff;
}

.inquiry button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.inquiry button:disabled {
  cursor: wait;
  opacity: .66;
  transform: none;
}

.inquiry button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  animation: arrow-nudge 1.8s ease-in-out infinite;
}

.inquiry__note,
.inquiry__status {
  margin: 10px 8px 0;
  min-height: 18px;
  color: rgba(226, 235, 241, .5);
  font-size: 11px;
  line-height: 1.45;
}

.inquiry__status {
  margin-top: 3px;
  color: #86e6c3;
  font-size: 12px;
}

.inquiry__status[data-error="true"] {
  color: #ffac9d;
}

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.signal {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5.25vw, 92px);
  bottom: 96px;
  width: min(180px, 16vw);
  display: grid;
  grid-template-columns: 1fr;
  padding: 22px 0 0;
  animation: intro-up .8s .7s cubic-bezier(.2, .75, .2, 1) both;
}

.signal__line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: var(--hairline);
}

.signal__line::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -30%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  animation: scan 4.6s linear infinite;
}

.signal div {
  display: grid;
  gap: 5px;
}

.signal small {
  color: rgba(233, 240, 245, .52);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.signal strong {
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  color: rgba(230, 238, 244, .48);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  direction: ltr;
  animation: intro-up .8s .76s cubic-bezier(.2, .75, .2, 1) both;
}

.footer a {
  text-decoration: none;
}

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

.route {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(78, 198, 255, .25);
  border-left-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  filter: drop-shadow(0 0 6px rgba(78, 198, 255, .2));
  pointer-events: none;
  opacity: .58;
}

.route::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d9f5ff;
  box-shadow: 0 0 14px 3px rgba(78, 198, 255, .5);
}

.route--one {
  width: 45vw;
  height: 45vw;
  right: 7vw;
  top: -24vw;
  transform: rotate(19deg);
  animation: route-float 10s ease-in-out infinite alternate;
}

.route--one::after {
  right: 15%;
  bottom: 12%;
}

.route--two {
  width: 31vw;
  height: 31vw;
  right: 29vw;
  bottom: -23vw;
  transform: rotate(-35deg);
  animation: route-float 12s ease-in-out -2s infinite alternate-reverse;
}

.route--two::after {
  right: 4%;
  top: 32%;
}

.network-map {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: screen;
}

.network-map__line {
  fill: none;
  stroke: rgba(99, 210, 255, .28);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-dasharray: 1.4 3.8;
  animation: network-flow 5.5s linear infinite;
}

.network-map__line--rail {
  stroke: rgba(241, 173, 101, .22);
  animation-duration: 7s;
}

.network-map__line--road {
  stroke: rgba(114, 228, 194, .2);
  animation-duration: 4.8s;
}

.network-map__runner {
  fill: rgba(78, 198, 255, .42);
}

.network-map__runner--rail {
  fill: rgba(241, 173, 101, .42);
}

.network-map__runner--road {
  fill: rgba(114, 228, 194, .4);
}

.network-map__runner-core {
  fill: #f7fdff;
}

.transport-beacon {
  position: absolute;
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #dff8ff;
  box-shadow: 0 0 0 0 rgba(78, 198, 255, .64), 0 0 14px 4px rgba(78, 198, 255, .25);
  pointer-events: none;
  animation: beacon 2.2s ease-out infinite;
}

.transport-beacon--air {
  top: 10%;
  left: 61%;
}

.transport-beacon--rail {
  top: 59%;
  left: 47%;
  animation-delay: -.75s;
}

.transport-beacon--road {
  top: 58%;
  right: 14%;
  animation-delay: -1.35s;
}

@keyframes cinematic-drift {
  from { transform: scale(1.025) translate3d(0, 0, 0); }
  to { transform: scale(1.075) translate3d(-1.15%, -.7%, 0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(102, 227, 186, .45); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(102, 227, 186, 0); }
}

@keyframes scan {
  to { left: 100%; }
}

@keyframes route-float {
  to { translate: 10px 7px; opacity: .7; }
}

@keyframes light-sweep {
  0%, 16% { left: -24%; opacity: 0; }
  30% { opacity: .78; }
  62%, 100% { left: 112%; opacity: 0; }
}

@keyframes intro-down {
  from { opacity: 0; transform: translate3d(0, -14px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes intro-up {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes outline-breathe {
  0%, 100% { -webkit-text-stroke-color: rgba(244, 247, 250, .64); filter: drop-shadow(0 0 0 rgba(78, 198, 255, 0)); }
  50% { -webkit-text-stroke-color: rgba(206, 242, 255, .94); filter: drop-shadow(0 0 12px rgba(78, 198, 255, .17)); }
}

@keyframes form-shimmer {
  0%, 28% { transform: translateX(-110%); opacity: 0; }
  42% { opacity: 1; }
  66%, 100% { transform: translateX(110%); opacity: 0; }
}

@keyframes arrow-nudge {
  0%, 62%, 100% { transform: translateX(0); }
  74% { transform: translateX(4px); }
  86% { transform: translateX(0); }
}

@keyframes network-flow {
  to { stroke-dashoffset: -24; }
}

@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgba(78, 198, 255, .58), 0 0 12px 3px rgba(78, 198, 255, .22); }
  72%, 100% { box-shadow: 0 0 0 14px rgba(78, 198, 255, 0), 0 0 18px 5px rgba(78, 198, 255, 0); }
}

html[dir="rtl"] .hero__content {
  text-align: right;
}

html[dir="rtl"] .capabilities {
  justify-content: flex-start;
}

html[dir="rtl"] .inquiry__note,
html[dir="rtl"] .inquiry__status {
  text-align: right;
}

html[dir="rtl"] .inquiry button svg {
  animation-name: arrow-nudge-rtl;
}

html[dir="rtl"] .network-status {
  direction: rtl;
}

html[lang="fr"] h1,
html[lang="es"] h1 {
  font-size: clamp(48px, 6.2vw, 98px);
}

html[lang="ar"] h1 {
  font-family: "Noto Sans Arabic", Arial, sans-serif;
  font-size: clamp(48px, 6.25vw, 96px);
  letter-spacing: -.04em;
  line-height: 1.05;
}

html[lang="zh-Hans"] h1 {
  font-family: "Noto Sans SC", Arial, sans-serif;
  letter-spacing: -.055em;
  line-height: 1.02;
}

@keyframes arrow-nudge-rtl {
  0%, 62%, 100% { transform: rotate(180deg) translateX(0); }
  74% { transform: rotate(180deg) translateX(4px); }
  86% { transform: rotate(180deg) translateX(0); }
}

@media (max-width: 900px) {
  .hero {
    padding: 25px 22px 22px;
  }

  .hero__image {
    background-position: 63% 50%;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(3, 11, 20, .97), rgba(4, 15, 27, .78) 67%, rgba(4, 12, 22, .32)),
      linear-gradient(0deg, rgba(3, 9, 16, .83), transparent 48%);
  }

  .hero__content {
    width: min(680px, 100%);
    align-self: end;
    padding: 96px 0 42px;
  }

  h1 {
    font-size: clamp(50px, 13.2vw, 84px);
  }

  .lead {
    max-width: 520px;
  }

  .signal {
    display: none;
  }

  .transport-beacon--road {
    right: 8%;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
  }

  .topbar__actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .language-switcher select {
    min-width: 98px;
    height: 34px;
    padding-left: 13px;
    font-size: 10px;
  }

  .network-status {
    max-width: 112px;
    text-align: right;
    line-height: 1.4;
  }

  .hero__content {
    padding-top: 52px;
  }

  .eyebrow {
    margin-bottom: 18px;
    font-size: 9px;
  }

  h1 {
    line-height: .94;
  }

  html[lang="fr"] h1,
  html[lang="es"] h1,
  html[lang="ar"] h1 {
    font-size: clamp(42px, 11.6vw, 62px);
  }

  .lead {
    margin-top: 22px;
    font-size: 15px;
  }

  .inquiry {
    margin-top: 28px;
  }

  .inquiry__field {
    grid-template-columns: 1fr;
  }

  .inquiry button {
    width: 100%;
  }

  .footer span:last-child {
    display: none;
  }

  .network-map {
    opacity: .72;
  }

  .network-map__line--road {
    display: none;
  }

  .transport-beacon--road {
    display: none;
  }
}

@media (max-height: 710px) and (min-width: 621px) {
  .hero__content {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .eyebrow {
    margin-bottom: 15px;
  }

  .lead {
    margin-top: 18px;
  }

  .capabilities {
    margin-top: 15px;
  }

  .inquiry {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .network-map__runner,
  .transport-beacon {
    display: none;
  }
}
