.hero {
  position: relative;
  height: 40rem; /* 640px */
  border-bottom-left-radius: var(--radius-24);
  border-bottom-right-radius: var(--radius-24);
  overflow: hidden;
  display: flex;
  align-items: center;
  /* Banner colour fills any width the pinned image doesn't cover past 1440px */
  background-color: var(--surface-dark-blue);
}

/* Image is pinned to the right and locked to the banner height: its aspect
   (2.25) makes its width track the viewport across the fluid 1200–1400 range
   (100% fill), then freeze at ~1400px. The banner keeps growing; the extra
   width on the left shows the navy background instead of upscaling the art. */
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero__bg img {
  height: 100%;
  width: auto;
  display: block;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Solid navy at the very left edge blends the image into the banner fill
     seamlessly on wide viewports, then eases to the text-legibility shade. */
  background: linear-gradient(
    to right,
    #001331 0%,
    #001331 4%,
    rgba(0, 19, 49, 0.6) 12%,
    rgba(0, 19, 49, 0.6) 42.7%,
    rgba(0, 19, 49, 0) 61.2%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-32);
  width: 42.2rem; /* 675px */
  margin-left: var(--content-inset);
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
  color: var(--text-inverse);
}

.hero__title h1 {
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
  white-space: nowrap;
}

.hero__title p {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.4;
}

.hero__buttons {
  display: flex;
  gap: var(--sp-8);
}
