/* V6 Hero — copy left (≥50%), SVG workflow illustration right (≤50%).
   The V5 line-art schematic is not loaded in V6; the right slot mounts
   components/hero-workflow/ (Codex handoff) instead.
   Plate background is a static PNG (assets/images/hero-background-v6.png)
   on an <img.bd-hero__bg--v6>, not the CSS gradient and not the WebGL
   animation. .bd-hero__bg (hero.css) pins it to the plate; object-fit
   keeps the bitmap covering at any plate size. */

.bd-hero--v6 {
  --bd-blue: #2096F4;
  --bd-blue-hi: #63B0F9;
  --bd-green: #038664;
  --bd-green-hi: #57A186;
  --bd-orange: #F79009;
  --bd-orange-hi: #FBAB61;
  --bd-blue-grad: linear-gradient(90deg, var(--bd-blue), var(--bd-blue-hi));
  --bd-green-grad: linear-gradient(90deg, var(--bd-green), var(--bd-green-hi));
  --bd-orange-grad: linear-gradient(90deg, var(--bd-orange), var(--bd-orange-hi));
}

.bd-hero--v6 .bd-hero__bg--v6 {
  object-fit: cover;
  object-position: center;
}

.bd-hero--v6 .bd-hero__title {
  font-size: inherit;
  font-weight: inherit;
  font-variation-settings: inherit;
}

.bd-hero--v6 .bd-hero__title-line {
  display: block;
}

.bd-hero--v6 .bd-hero__title-line--lead {
  font-size: clamp(30px, 2.92vw, 42px);
  font-weight: var(--bd-weight-value, 200);
  font-variation-settings: "wght" var(--bd-weight-value, 200);
  white-space: nowrap;
}

.bd-hero--v6 .bd-hero__title-line--trust {
  font-size: clamp(40px, 3.89vw, 56px);
  font-weight: 500;
  font-variation-settings: "wght" 500;
}
.bd-hero--v6 .bd-hero__plate {
  align-items: stretch;
  min-height: 36rem;
  padding-block: clamp(28px, 4vw, 52px);
}

.bd-hero--v6 .bd-hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  width: 100%;
  min-width: 0;
}

.bd-hero--v6 .bd-hero__copy {
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  width: auto;
}

/* Right-hand SVG workflow (Codex handoff). Width only — the mounted SVG
   keeps its own aspect (height auto); never fix this box's height. */
.bd-hero--v6 .bd-hero-workflow {
  flex: 0 1 50%;
  max-width: 50%;
  width: 50%;
  min-width: 0;
  align-self: center;
}

@media (min-width: 1024px) {
  .bd-hero--v6 .bd-hero__lead-line {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 1023px) {
  .bd-hero--v6 .bd-hero__plate {
    min-height: 30rem;
  }

  .bd-hero--v6 .bd-hero__layout {
    flex-direction: column;
    align-items: stretch;
  }

  .bd-hero--v6 .bd-hero__copy {
    max-width: none;
    flex-basis: auto;
  }

  /* The workflow composition is approved for desktop only (Codex README);
     below 1024px the hero is copy-only, same as the V5 line-art rule. */
  .bd-hero--v6 .bd-hero-workflow {
    display: none;
  }
}

@media (max-width: 767px) {
  .bd-hero--v6 .bd-hero__plate {
    min-height: 22rem;
  }
}
