/* V9 Hero — copy left (≥50%), institutional list right (≤50%).
   Plate background is a static PNG (assets/images/hero-bg-static.png)
   on an <img.bd-hero__bg--v9>. No cycling plates, no Ken Burns. */

.bd-hero--v9 {
  --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--v9 .bd-hero__bg--v9 {
  object-fit: cover;
  object-position: center;
}

.bd-hero--v9 .bd-hero__badge {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 60px;
  display: block;
  height: 100%;
  width: auto;
  opacity: 0.15;
  transform: rotate(-45deg) scale(1.2);
  pointer-events: none;
}

.bd-hero--v9 .bd-hero__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-size: inherit;
  font-weight: inherit;
  font-variation-settings: inherit;
}

.bd-hero--v9 .bd-hero__product {
  display: block;
  font-size: 32px;
  font-weight: var(--bd-weight-display, 300);
  font-variation-settings: "wght" var(--bd-weight-display, 300);
  letter-spacing: 0.02em;
  line-height: 1;
}

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

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

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

.bd-hero--v9 .bd-hero__copy {
  position: relative;
  z-index: 2;
  flex: 1 1 50%;
  max-width: 50%;
  min-width: 0;
  width: auto;
}

.bd-hero--v9 .bd-hero-flow-slot {
  position: relative;
  z-index: 1;
  flex: 0 1 50%;
  max-width: 50%;
  width: 50%;
  min-width: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
  overflow: visible;
}

.bd-hero--v9 .bd-hero-flow {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  width: 100%;
  max-width: none;
  min-width: 0;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: visible;
}

.bd-hero--v9 .bd-hero-flow__row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 8px;
  align-items: stretch;
  min-width: 0;
  padding-block: 6px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.bd-hero--v9 .bd-hero-flow__row::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--bd-text, #000);
  transform: translateX(-50%);
  pointer-events: none;
}

.bd-hero--v9 .bd-hero-flow__row:first-child::before {
  top: 50%;
}

.bd-hero--v9 .bd-hero-flow__row:last-child::before {
  bottom: 50%;
}

.bd-hero--v9 .bd-hero-flow__row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 44px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: color-mix(in srgb, var(--bd-text, #000) 14%, transparent);
  pointer-events: none;
}

.bd-hero--v9 .bd-hero-flow__row:hover::after,
.bd-hero--v9 .bd-hero-flow__row:focus-visible::after,
.bd-hero--v9 .bd-hero-flow__row:has(+ :hover)::after,
.bd-hero--v9 .bd-hero-flow__row:has(+ :focus-visible)::after {
  opacity: 0;
}

.bd-hero--v9 .bd-hero-flow__node {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: center;
  width: 36px;
  height: 24px;
  pointer-events: none;
}

.bd-hero--v9 .bd-hero-flow__mark {
  display: block;
  width: 36px;
  height: 24px;
  overflow: visible;
  color: var(--bd-text, #000);
}

.bd-hero--v9 .bd-hero-flow__mark :is(path, circle, line, rect, ellipse, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}

.bd-hero--v9 .bd-hero-flow__stub {
  stroke: var(--bd-text-2, #252B37);
  stroke-width: 1;
}

.bd-hero--v9 .bd-hero-flow__dot {
  fill: var(--bd-text, #000);
  stroke: none;
}

.bd-hero--v9 .bd-hero-flow__ping {
  stroke: var(--bd-blue, #2096F4);
  stroke-width: 1;
  fill: none;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.bd-hero--v9 .bd-hero-flow__row:hover .bd-hero-flow__ping,
.bd-hero--v9 .bd-hero-flow__row:focus-visible .bd-hero-flow__ping {
  animation: bd-hero-flow-ping 2.8s ease-out infinite;
}

.bd-hero--v9 .bd-hero-flow__row:hover .bd-hero-flow__ping--late,
.bd-hero--v9 .bd-hero-flow__row:focus-visible .bd-hero-flow__ping--late {
  animation: bd-hero-flow-ping 2.8s ease-out 0.9s infinite;
}

@keyframes bd-hero-flow-ping {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(3.2); opacity: 0.7; }
  100% { transform: scale(6.4); opacity: 0; }
}

.bd-hero--v9 .bd-hero-flow__label {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 82px;
  padding: 12px 16px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  color: var(--bd-text, #000);
}

.bd-hero--v9 .bd-hero-flow__fill {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}

.bd-hero--v9 .bd-hero-flow__text {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
}

.bd-hero--v9 .bd-hero-flow__arrow {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  align-self: center;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  overflow: visible;
  color: inherit;
  opacity: 0;
  pointer-events: none;
}

.bd-hero--v9 .bd-hero-flow__arrow :is(path, circle, line, rect, ellipse, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}

.bd-hero--v9 .bd-hero-flow__row:hover .bd-hero-flow__arrow,
.bd-hero--v9 .bd-hero-flow__row:focus-visible .bd-hero-flow__arrow {
  opacity: 1;
  animation: bd-hero-cta-nudge 0.8s ease-in-out infinite;
}


.bd-hero--v9 .bd-hero-flow__row:focus-visible {
  outline: 2px solid var(--bd-text, #000);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .bd-hero--v9 .bd-hero-flow__row:hover .bd-hero-flow__ping,
  .bd-hero--v9 .bd-hero-flow__row:focus-visible .bd-hero-flow__ping {
    animation: none;
    opacity: 1;
    transform: scale(1);
  }

  .bd-hero--v9 .bd-hero-flow__row:hover .bd-hero-flow__arrow,
  .bd-hero--v9 .bd-hero-flow__row:focus-visible .bd-hero-flow__arrow {
    animation: none;
  }
}

.bd-hero--v9 a.bd-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-sizing: border-box;
  margin-top: var(--bd-space-6, 24px);
  max-width: 100%;
  padding: 12px 20px 12px 24px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  background: #0c0c0d;
  color: #fff;
  font-size: var(--bd-text-base, 16px);
  font-weight: 400;
  line-height: 1;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.bd-hero--v9 a.bd-hero__cta:hover {
  background: #1b1c21;
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

.bd-hero--v9 a.bd-hero__cta:focus-visible {
  outline: 2px solid #0c0c0d;
  outline-offset: 3px;
}

.bd-hero--v9 .bd-hero__cta-arrow {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  overflow: visible;
  color: inherit;
  animation: bd-hero-cta-nudge 0.8s ease-in-out infinite;
}

.bd-hero--v9 .bd-hero__cta-arrow :is(path, circle, line, rect, ellipse, polyline, polygon) {
  vector-effect: non-scaling-stroke;
}

@keyframes bd-hero-cta-nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .bd-hero--v9 .bd-hero__cta-arrow {
    animation: none;
  }
}

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

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

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

  .bd-hero--v9 .bd-hero-flow-slot {
    max-width: none;
    flex-basis: auto;
    width: 100%;
    margin-top: 8px;
  }
}

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

  .bd-hero--v9 .bd-hero-flow__label {
    padding: 10px 12px;
    min-height: 82px;
  }
}
