/* Bridge-led homepage treatment. */
.bridge-hero-version .bridge-hero {
  isolation: isolate;
  min-height: max(720px, calc(100svh - 86px));
  border-bottom-color: rgba(207, 228, 232, 0.32);
  background: var(--ink);
}

.bridge-hero-version .bridge-hero-media,
.bridge-hero-version .bridge-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bridge-hero-version .bridge-hero-media {
  z-index: 0;
  overflow: hidden;
}

.bridge-hero-version .bridge-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.76) contrast(0.96) brightness(0.78);
  transform: translate3d(0, var(--bridge-parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.bridge-hero-version .bridge-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 18, 41, 0.98) 0%, rgba(3, 18, 41, 0.95) 31%, rgba(3, 18, 41, 0.78) 52%, rgba(3, 18, 41, 0.42) 75%, rgba(3, 18, 41, 0.14) 100%),
    linear-gradient(0deg, rgba(3, 18, 41, 0.48) 0%, rgba(3, 18, 41, 0.08) 55%, transparent 100%);
}

.bridge-hero-version .bridge-hero .hero-single-grid {
  z-index: 2;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.bridge-hero-version .bridge-hero .hero-copy {
  max-width: 680px;
  color: var(--white);
}

.bridge-hero-version .bridge-hero .eyebrow {
  color: #c0e0e7;
  text-shadow: 0 1px 12px rgba(3, 18, 41, 0.58);
}

.bridge-hero-version .bridge-hero h1 {
  max-width: 660px;
  color: var(--white);
  text-shadow: 0 3px 24px rgba(3, 18, 41, 0.42);
}

.bridge-hero-version .bridge-hero h1 em {
  color: #add9e3;
}

.bridge-hero-version .bridge-hero .hero-thesis {
  max-width: 570px;
  margin-bottom: 42px;
  border-top-color: rgba(230, 243, 244, 0.44);
  color: #e4efef;
  font-size: 15px;
  line-height: 1.7;
  text-shadow: 0 1px 10px rgba(3, 18, 41, 0.5);
}

.bridge-hero-version .bridge-hero .button-primary {
  min-height: 56px;
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(3, 18, 41, 0.32);
}

.bridge-hero-version .bridge-hero .hero-actions {
  gap: 22px;
}

.bridge-hero-version .bridge-hero .button-primary span {
  color: var(--blue);
}

.bridge-hero-version .bridge-hero .button-primary:hover {
  border-color: #c0e0e7;
  color: var(--ink);
  background: #c0e0e7;
}

.bridge-hero-version .bridge-hero .hero-signature {
  z-index: 2;
  border-top-color: rgba(230, 243, 244, 0.38);
  color: #d3e8ec;
}

.bridge-hero-version .bridge-hero .hero-signature span:last-child {
  color: #9cc9d6;
}

@media (max-width: 860px) {
  .bridge-hero-version .bridge-hero {
    min-height: max(700px, calc(100svh - 74px));
    padding-top: 80px;
  }
}

@media (max-width: 580px) {
  .bridge-hero-version .bridge-hero {
    min-height: auto;
    justify-content: flex-start;
    padding: 72px 0 calc(128px + env(safe-area-inset-bottom));
  }

  .bridge-hero-version .bridge-hero-image {
    object-position: 63% center;
    filter: saturate(0.78) contrast(0.98) brightness(0.82);
  }

  .bridge-hero-version .bridge-hero-overlay {
    display: block;
    background: linear-gradient(180deg, rgba(3, 18, 41, 0.96) 0%, rgba(3, 18, 41, 0.88) 34%, rgba(3, 18, 41, 0.62) 66%, rgba(3, 18, 41, 0.38) 100%);
  }

  .bridge-hero-version .bridge-hero .hero-single-grid {
    align-items: start;
  }

  .bridge-hero-version .bridge-hero .hero-copy {
    max-width: none;
  }

  .bridge-hero-version .bridge-hero .eyebrow {
    margin-bottom: 26px;
  }

  .bridge-hero-version .bridge-hero h1 {
    margin: 0 0 42px;
    font-size: clamp(2.55rem, 11vw, 3.1rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
  }

  .bridge-hero-version .bridge-hero h1 em {
    margin-top: 0.16em;
  }

  .bridge-hero-version .bridge-hero .hero-thesis {
    border-top-color: rgba(230, 243, 244, 0.38);
    gap: 28px;
    margin-bottom: 0;
    padding-top: 32px;
    font-size: 15px;
    line-height: 1.75;
  }

  .bridge-hero-version .bridge-hero .hero-actions {
    display: none;
  }

  .bridge-hero-version .bridge-hero .hero-signature {
    display: none;
  }
}

@media (min-width: 701px) {
  .bridge-hero-version .bridge-hero {
    min-height: max(680px, calc(100svh - 86px));
    justify-content: flex-start;
    padding: clamp(88px, 8vw, 112px) 0 30px;
  }

  .bridge-hero-version .bridge-hero .hero-copy,
  .bridge-hero-version .bridge-hero h1 {
    max-width: 640px;
  }

  .bridge-hero-version .bridge-hero h1 {
    margin: 20px 0 26px;
    font-size: clamp(3.8rem, 5.8vw, 6rem);
  }

  .bridge-hero-version .bridge-hero .hero-thesis {
    margin-bottom: 38px;
  }

  .bridge-hero-version .bridge-hero .hero-signature {
    margin-top: clamp(44px, 5vw, 66px);
  }
}

@media (max-width: 700px), (prefers-reduced-motion: reduce) {
  .bridge-hero-version .bridge-hero-image {
    transform: none;
    will-change: auto;
  }
}
