.page-hero {
  position: relative;
  display: flex;
  align-items: flex-start;
  /* min-height (not height) so a long title or lead pushes the hero taller instead of clipping the buttons. */
  min-height: 720px;
  padding-bottom: 120px;
  overflow: hidden;
  background: var(--color-bg);
}
.page-hero--lg {
  min-height: 760px;
}

.page-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0) calc(100% - 260px), var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(8, 13, 28, 0.92) 0%,
      rgba(8, 13, 28, 0.55) 50%,
      rgba(8, 13, 28, 0.1) 100%
    );
}

.page-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 211px;
}
.page-hero--lg .page-hero__content {
  padding-top: 231px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-white);
  opacity: 0.5;
}
.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb li + li::before {
  content: '/';
  opacity: 0.6;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.page-hero__title {
  max-width: 1076px;
  font-size: 80px;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--color-white);
}
.page-hero__lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--white-72);
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1023px) {
  .page-hero,
  .page-hero--lg,
  .page-hero--sm {
    min-height: 600px;
    padding-bottom: 80px;
  }
  .page-hero__content,
  .page-hero--lg .page-hero__content {
    padding-top: 150px;
  }
  .page-hero__title {
    font-size: 56px;
  }
}
@media (max-width: 599px) {
  .page-hero__title {
    font-size: 42px;
  }
  .page-hero__content,
  .page-hero--lg .page-hero__content {
    padding-top: 120px;
  }
}

/* Stronger overlay variant. */
.page-hero--overlay-strong .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0) calc(100% - 300px), var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(8, 13, 28, 0.95) 0%,
      rgba(8, 13, 28, 0.6) 50%,
      rgba(8, 13, 28, 0.15) 100%
    );
}

/* Deep overlay variant. */
.page-hero--overlay-deep .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0) calc(100% - 300px), var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(8, 13, 28, 0.96) 0%,
      rgba(8, 13, 28, 0.7) 50%,
      rgba(8, 13, 28, 0.25) 100%
    );
}

/* Badge above the title. */
.page-hero__badge {
  padding: 4px 10px;
  border: 1px solid rgba(212, 204, 255, 0.3);
  border-radius: 10px;
  background: rgba(212, 204, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0.1em;
  color: var(--color-lavender);
}
.page-hero__title--68 {
  max-width: 960px;
  font-size: 68px;
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.page-hero__lead {
  max-width: 640px;
}
@media (max-width: 1023px) {
  .page-hero__title--68 {
    font-size: 48px;
  }
}

/* Short hero. */
.page-hero--sm {
  min-height: 600px;
}
.page-hero--sm .page-hero__content {
  gap: 24px;
  padding-top: 150px;
}
.page-hero--overlay-case-studies .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0) calc(100% - 260px), var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(8, 13, 28, 0.96) 0%,
      rgba(8, 13, 28, 0.75) 55%,
      rgba(8, 13, 28, 0.35) 100%
    );
}

/* Innovation hero. */
.page-hero--overlay-innovation .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0) calc(100% - 280px), var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(8, 13, 28, 0.96) 0%,
      rgba(8, 13, 28, 0.65) 55%,
      rgba(8, 13, 28, 0.2) 100%
    );
}
.page-hero--overlay-innovation .page-hero__content {
  padding-top: 208px;
}
.page-hero--overlay-innovation .page-hero__lead {
  max-width: 600px;
}

/* Service hero. */
.page-hero--overlay-service .page-hero__overlay {
  background:
    linear-gradient(180deg, rgba(8, 13, 28, 0) calc(100% - 300px), var(--color-bg) 100%),
    linear-gradient(
      90deg,
      rgba(8, 13, 28, 0.95) 0%,
      rgba(8, 13, 28, 0.7) 55%,
      rgba(8, 13, 28, 0.3) 100%
    );
}
.page-hero--overlay-service .page-hero__content {
  padding-top: 150px;
}
.page-hero--overlay-service .page-hero__title {
  line-height: 1;
  letter-spacing: -0.03em;
}
.page-hero--overlay-service .page-hero__lead {
  max-width: 600px;
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}
.page-hero__badge a {
  color: inherit;
}
.page-hero__badge:has(a:hover) {
  border-color: var(--white-60);
}
