.banner.rixin-home-hero {
  position: relative;
  width: 100%;
  height: clamp(62rem, 84vh, 88rem);
  min-height: 62rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  color: #fff;
  background: #07111b;
  isolation: isolate;
}

.rixin-home-hero .banner-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(.9) contrast(1.04) brightness(.9);
  transform: scale(1.002);
}

.rixin-home-hero .banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4, 12, 21, .9) 0%, rgba(4, 12, 21, .7) 34%, rgba(4, 12, 21, .26) 68%, rgba(4, 12, 21, .16) 100%),
    linear-gradient(180deg, rgba(4, 12, 21, .3) 0%, transparent 34%, transparent 70%, rgba(4, 12, 21, .38) 100%);
}

.rixin-home-hero .banner-content {
  position: relative;
  z-index: 2;
  width: min(100%, 124rem);
  margin: 0 auto;
  padding: 8rem 4rem 3rem;
}

.rixin-home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 0 0 2.2rem;
  color: #c9e7ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rixin-home-hero-eyebrow::before {
  width: 3.6rem;
  height: .2rem;
  background: #8bc8f5;
  content: "";
}

.banner.rixin-home-hero h1 {
  max-width: 84rem;
  margin: 0;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(5rem, 5.2vw, 7.8rem);
  font-weight: 560;
  letter-spacing: -.048em;
  line-height: .99;
  text-wrap: balance;
  text-shadow: 0 .2rem 2.4rem rgba(0, 0, 0, .18);
}

.banner.rixin-home-hero p.rixin-home-hero-lead {
  max-width: 67rem;
  margin: 2.6rem 0 0;
  color: rgba(255, 255, 255, .84);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.7rem, 1.45vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -.012em;
  line-height: 1.58;
}

.rixin-home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.6rem;
}

.rixin-home-hero-action {
  min-width: 16rem;
  padding: 1.35rem 2.2rem;
  border: .1rem solid rgba(255, 255, 255, .34);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-align: center;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.rixin-home-hero-action:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-.2rem);
}

.rixin-home-hero-action-primary {
  border-color: #b7ddf9;
  background: #b7ddf9;
  color: #13263d;
}

.rixin-home-hero-action-primary:hover {
  border-color: #d7edfd;
  background: #d7edfd;
  color: #13263d;
}

@media only screen and (max-width: 768px) {
  .banner.rixin-home-hero {
    height: 72svh;
    min-height: 56rem;
    max-height: 70rem;
  }

  .rixin-home-hero .banner-video {
    object-position: 59% center;
  }

  .rixin-home-hero .banner-overlay {
    background:
      linear-gradient(90deg, rgba(4, 12, 21, .88), rgba(4, 12, 21, .62) 72%, rgba(4, 12, 21, .42)),
      linear-gradient(180deg, rgba(4, 12, 21, .28), transparent 32%, rgba(4, 12, 21, .5));
  }

  .rixin-home-hero .banner-content {
    padding: 8rem 2.4rem 2.5rem;
  }

  .rixin-home-hero-eyebrow {
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
    letter-spacing: .18em;
  }

  .rixin-home-hero-eyebrow::before { width: 2.6rem; }

  .banner.rixin-home-hero h1 {
    max-width: 58rem;
    font-size: clamp(4rem, 11vw, 5.6rem);
    letter-spacing: -.042em;
    line-height: 1.02;
  }

  .banner.rixin-home-hero p.rixin-home-hero-lead {
    max-width: 52rem;
    margin-top: 2rem;
    font-size: 1.6rem;
    line-height: 1.55;
  }

  .rixin-home-hero-actions { margin-top: 2.8rem; }
}

@media only screen and (max-width: 480px) {
  .rixin-home-hero-action {
    min-width: 0;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rixin-home-hero .banner-video { display: none; }
  .rixin-home-hero-action { transition: none; }
}
