.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 78vh, 820px);
  display: flex;
  align-items: center;
}

.hero__media {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: calc(-1 * var(--hero-bleed));
  z-index: -1;
  overflow: hidden;
}

.has-transparent-header .hero__media {
  top: calc(-1 * var(--header-h));
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      var(--c-bg) 0,
      rgba(10, 22, 40, 0.4) calc(var(--hero-fade) * 0.35),
      rgba(10, 22, 40, 0) var(--hero-fade)
    ),
    linear-gradient(
      100deg,
      var(--c-bg) 0%,
      rgba(10, 22, 40, 0.92) 28%,
      rgba(10, 22, 40, 0.55) 50%,
      rgba(10, 22, 40, 0) 72%
    );
}

.hero__inner { width: 100%; }
.hero__content { max-width: 64ch; }

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.hero__title span {
  display: block;
  color: var(--c-accent);
  white-space: nowrap;
}

.hero__tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.9375rem, 1.6vw, 1.25rem);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--c-text);
  margin-bottom: var(--sp-6);
}

.hero__lead {
  max-width: 42ch;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: var(--sp-8);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}
.hero__actions .btn { padding: 1rem 1.75rem; }
.hero__actions svg { flex-shrink: 0; }

.hero__badge {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-tiny);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.hero__badge b {
  font-weight: 700;
  color: var(--c-accent);
}
.hero__badge-mark {
  width: auto;
  height: 34px;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .hero {
    min-height: 0;
    padding-top: var(--sp-16);
    padding-bottom: calc(var(--sp-16) / 1.5);
  }
  .has-transparent-header .hero { padding-top: var(--sp-12); }
  .hero__media img { object-position: 68% center; }
  .hero__media::after {
    background: linear-gradient(
      175deg,
      rgba(10, 22, 40, 0.9) 0%,
      rgba(10, 22, 40, 0.78) 45%,
      rgba(10, 22, 40, 0.92) 100%
    );
  }
  .hero__content { max-width: none; }
  .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 560px) {
  .hero { padding-bottom: var(--sp-8); }
}

@media (max-width: 510px) {
  .hero__tagline { white-space: normal; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 10vw; }
}
