/* ------------------------------------------------------------------
   Trade — copy over a full-bleed background video.
   The video starts behind the loading screen (js/trade.js) so it is
   already playing when the section scrolls into view.
------------------------------------------------------------------ */
.trade {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: clip;
  isolation: isolate;
  background: var(--color-bg);
}

.trade__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* A light black veil over the whole frame, deeper on the text side
   (right, for RTL), and fades into the page at the top and bottom. */
.trade__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, var(--color-bg) 0%, rgb(0 3 11 / 0) 18%, rgb(0 3 11 / 0) 82%, var(--color-bg) 100%),
    linear-gradient(to left, rgb(0 3 11 / 0.78) 0%, rgb(0 3 11 / 0.55) 45%, rgb(0 3 11 / 0.3) 100%),
    rgb(0 3 11 / 0.2);
}

.trade__content {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.trade__content > * { max-width: 40rem; }

.trade__title {
  font-size: clamp(34px, 4.2vw, 64px);
  line-height: 1.25;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgb(0 3 11 / 0.6);
}

.trade__lead {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 2.05;
  text-wrap: pretty;
  color: rgb(238 241 245 / 0.84);
  text-shadow: 0 1px 18px rgb(0 3 11 / 0.7);
}

@media (max-width: 760px) {
  .trade__shade {
    background:
      linear-gradient(to bottom, var(--color-bg) 0%, rgb(0 3 11 / 0) 16%, rgb(0 3 11 / 0) 84%, var(--color-bg) 100%),
      rgb(0 3 11 / 0.6);
  }
}
