/* Final Compensation & Productivity hero — approved V2. */
.productivity-hero,
.productivity-hero * {
  box-sizing: border-box;
}

.productivity-hero {
  position: relative;
  container-type: inline-size;
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: var(--pcg-surface-deep) !important;
  color: var(--pcg-text-on-dark) !important;
}

.productivity-hero > .productivity-hero-inner {
  position: relative;
  width: 100% !important;
  height: auto;
  max-width: none !important;
  margin: 0 !important;
  inset: auto !important;
}

.productivity-hero-copy {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(52px, 6vw, 96px) var(--pcg-gutter);
}

.productivity-hero h1 {
  max-width: 1040px;
  margin: 0 !important;
  color: #fffef7 !important;
  font-family: var(--pcg-font-heading) !important;
  font-size: clamp(68px, 7.6vw, 120px) !important;
  font-weight: var(--pcg-weight-semibold) !important;
  line-height: .88 !important;
  letter-spacing: -.055em !important;
  text-align: left !important;
  text-shadow: 0 16px 48px rgba(0, 20, 16, .35);
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.productivity-hero h1::after {
  content: "";
  display: block;
  width: min(260px, 34vw);
  height: 5px;
  margin-top: 42px;
  background: var(--pcg-accent);
}

.productivity-hero-media {
  position: relative;
  z-index: 1;
  inset: auto;
  width: 100% !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  background: var(--pcg-surface-deep);
}

.productivity-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 35, 28, .9) 0%, rgba(0, 35, 28, .64) 48%, rgba(0, 35, 28, .18) 100%),
    linear-gradient(0deg, rgba(0, 25, 20, .62), transparent 60%);
}

.productivity-hero-media img {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-position: center;
}

.productivity-hero + .pcg-inner-content {
  margin-block-start: 0 !important;
}

@media (max-width: 900px) {
  .productivity-hero::after {
    display: none;
  }

  .productivity-hero > .productivity-hero-inner {
    display: grid;
    grid-template-rows: auto auto;
    width: 100cqw !important;
    height: auto;
    max-width: 100cqw !important;
    aspect-ratio: auto;
  }

  .productivity-hero {
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .productivity-hero-media {
    position: relative;
    inset: auto;
    grid-row: 1;
    width: 100cqw !important;
    max-width: 100cqw !important;
    aspect-ratio: auto;
  }

  .productivity-hero-media::after {
    background: linear-gradient(0deg, rgba(0, 35, 28, .28), transparent 70%);
  }

  .productivity-hero-copy {
    position: relative;
    inset: auto;
    grid-row: 2;
    align-items: flex-start;
    padding: 54px 22px 68px;
    background: var(--pcg-surface-deep);
  }

  .productivity-hero h1 {
    font-size: clamp(48px, 14vw, 58px) !important;
    line-height: .92 !important;
  }

  .productivity-hero h1::after {
    height: 4px;
    margin-top: 34px;
  }
}

